Skip to content

Commit 8a32b93

Browse files
tautschnigDaniel Kroening
authored and
Daniel Kroening
committed
Avoid default construction of code_typet
This is deprecated.
1 parent 6b51aeb commit 8a32b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/remove_function_pointers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ remove_function_pointerst::remove_function_pointerst(
120120

121121
// build type map
122122
forall_goto_functions(f_it, goto_functions)
123-
type_map[f_it->first]=f_it->second.type;
123+
type_map.emplace(f_it->first, f_it->second.type);
124124
}
125125

126126
bool remove_function_pointerst::arg_is_type_compatible(

0 commit comments

Comments
 (0)