Skip to content

Commit 09937e4

Browse files
smowtonpeterschrammel
authored andcommitted
Add overlay-map
This is a std-map-like container that can act as a writable layer atop another map.
1 parent afe9f5f commit 09937e4

File tree

2 files changed

+454
-0
lines changed

2 files changed

+454
-0
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Author: Daniel Kroening, [email protected]
1616
#include <util/language.h>
1717
#include <util/unicode.h>
1818
#include <util/memory_info.h>
19+
#include <util/overlay_map.h>
1920

2021
#include <ansi-c/c_preprocess.h>
2122

@@ -141,6 +142,8 @@ Function: cbmc_parse_optionst::get_command_line_options
141142

142143
void cbmc_parse_optionst::get_command_line_options(optionst &options)
143144
{
145+
overlay_map<int, int> omap;
146+
144147
if(config.set(cmdline))
145148
{
146149
usage_error();

0 commit comments

Comments
 (0)