Skip to content

Commit e551a17

Browse files
author
Daniel Kroening
committed
goto_statet cannot have default assignment operator
It uses classes that don't have a default assignment operator. This change is required for compilation with clang 8.
1 parent 56e798e commit e551a17

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
@@ -63,7 +63,7 @@ class goto_statet
6363

6464
/// Constructors
6565
goto_statet() = default;
66-
goto_statet &operator=(const goto_statet &other) = default;
66+
goto_statet &operator=(const goto_statet &other) = delete;
6767
goto_statet &operator=(goto_statet &&other) = default;
6868
goto_statet(const goto_statet &other) = default;
6969
goto_statet(goto_statet &&other) = default;

0 commit comments

Comments
 (0)