Skip to content

Commit ae61a3b

Browse files
author
Daniel Kroening
committed
symbol_table API
1 parent e194d7d commit ae61a3b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ebmc/ebmc_base.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,9 @@ Function: ebmc_baset::get_model_properties
330330

331331
bool ebmc_baset::get_model_properties()
332332
{
333-
forall_symbol_module_map(
334-
it,
335-
symbol_table.symbol_module_map,
336-
main_symbol->name)
333+
for(auto it=symbol_table.symbol_module_map.lower_bound(main_symbol->name);
334+
it!=symbol_table.symbol_module_map.upper_bound(main_symbol->name);
335+
it++)
337336
{
338337
namespacet ns(symbol_table);
339338
const symbolt &symbol=ns.lookup(it->second);

0 commit comments

Comments
 (0)