Skip to content

Commit 7075395

Browse files
Petr BauchPetr Bauch
authored andcommitted
Explicit exception class constructor
1 parent ba1d728 commit 7075395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/exception_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class incorrect_goto_program_exceptiont : public cprover_exception_baset
8686
incorrect_goto_program_exceptiont(
8787
std::string message,
8888
source_locationt source_location);
89-
incorrect_goto_program_exceptiont(std::string message);
89+
explicit incorrect_goto_program_exceptiont(std::string message);
9090
std::string what() const override;
9191

9292
private:

0 commit comments

Comments
 (0)