Skip to content

Commit 3e19c91

Browse files
author
Daniel Kroening
committed
goto_statet cannot have a default constructor
It uses classes that don't have a default constructor. This change is required for compilation with clang 8.
1 parent cdd8e6d commit 3e19c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-symex/goto_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class goto_statet
6262
unsigned atomic_section_id = 0;
6363

6464
/// Constructors
65-
goto_statet() = default;
65+
goto_statet() = delete;
6666
goto_statet &operator=(const goto_statet &other) = delete;
6767
goto_statet &operator=(goto_statet &&other) = default;
6868
goto_statet(const goto_statet &other) = default;

0 commit comments

Comments
 (0)