Skip to content

Commit d2517c9

Browse files
Replace constructor by default values for fields
1 parent 7835f4c commit d2517c9

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/goto-symex/goto_symex_state.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -275,19 +275,13 @@ class goto_symex_statet final
275275
symex_targett::sourcet calling_location;
276276

277277
goto_programt::const_targett end_of_function;
278-
exprt return_value;
279-
bool hidden_function;
278+
exprt return_value = nil_exprt();
279+
bool hidden_function = false;
280280

281281
renaming_levelt::current_namest old_level1;
282282

283283
std::set<irep_idt> local_objects;
284284

285-
framet():
286-
return_value(nil_exprt()),
287-
hidden_function(false)
288-
{
289-
}
290-
291285
// exceptions
292286
std::map<irep_idt, goto_programt::targett> catch_map;
293287

0 commit comments

Comments
 (0)