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.
1 parent 107e1ae commit 8abb3c8Copy full SHA for 8abb3c8
src/goto-symex/symex_start_thread.cpp
@@ -68,10 +68,9 @@ void goto_symext::symex_start_thread(statet &state)
68
lhs.set_level_0(t);
69
70
// set up L1 name
71
- if(!state.level1.current_names.insert(
72
- std::make_pair(lhs.get_l1_object_identifier(),
73
- std::make_pair(lhs, 0))).second)
74
- UNREACHABLE;
+ auto emplace_result = state.level1.current_names.emplace(
+ lhs.get_l1_object_identifier(), std::make_pair(lhs, 0));
+ CHECK_RETURN(emplace_result.second);
75
state.rename(lhs, ns, goto_symex_statet::L1);
76
const irep_idt l1_name=lhs.get_l1_object_identifier();
77
// store it
0 commit comments