Skip to content

Commit f6c987d

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

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
@@ -288,14 +288,8 @@ class goto_symex_statet final
288288
// loop and recursion unwinding
289289
struct loop_infot
290290
{
291-
loop_infot():
292-
count(0),
293-
is_recursion(false)
294-
{
295-
}
296-
297-
unsigned count;
298-
bool is_recursion;
291+
unsigned count = 0;
292+
bool is_recursion = false;
299293
};
300294
std::unordered_map<irep_idt, loop_infot> loop_iterations;
301295
};

0 commit comments

Comments
 (0)