Skip to content

Commit 3747400

Browse files
committed
remove use of base_type_eq in replace_callst
1 parent acdb0e0 commit 3747400

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-instrument/replace_calls.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ void replace_callst::check_replacement_map(
161161
auto it1 = goto_functions.function_map.find(p.first);
162162
if(it1 != goto_functions.function_map.end())
163163
{
164-
if(!base_type_eq(
165-
ns.lookup(it1->first).type, ns.lookup(it2->first).type, ns))
164+
if(ns.lookup(it1->first).type != ns.lookup(it2->first).type)
166165
throw invalid_command_line_argument_exceptiont(
167166
"functions " + id2string(p.first) + " and " + id2string(p.second) +
168167
" are not type-compatible",

0 commit comments

Comments
 (0)