We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd566d6 + 346e268 commit 41cbe33Copy full SHA for 41cbe33
src/pointer-analysis/local_value_set_analysis.cpp
@@ -320,6 +320,7 @@ void local_value_set_analysist::save_summary(const goto_programt &goto_program)
320
locationt last_loc=std::prev(goto_program.instructions.end());
321
const auto &final_state=static_cast<const domaint&>(get_state(last_loc));
322
// Put summary into database
323
+ summarydb.erase(function_name);
324
summarydb[function_name]->from_final_state(
325
final_state.value_set,
326
ns,
src/util/cached_map.h
@@ -464,7 +464,7 @@ class cached_mapt final
464
return false;
465
if(cache.count(key) != 0)
466
remove_cache(key);
467
- base_map.remove(key);
+ base_map.erase(key);
468
return true;
469
}
470
0 commit comments