We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9160e99 commit aef48c2Copy full SHA for aef48c2
src/goto-programs/goto_model.h
@@ -92,7 +92,8 @@ class goto_modelt : public abstract_goto_modelt
92
93
bool can_produce_function(const irep_idt &id) const override
94
{
95
- return goto_functions.function_map.count(id);
+ return goto_functions.function_map.find(id) !=
96
+ goto_functions.function_map.end();
97
}
98
};
99
@@ -127,7 +128,8 @@ class wrapper_goto_modelt : public abstract_goto_modelt
127
128
129
130
131
132
133
134
135
private:
0 commit comments