Skip to content

Commit 859ac17

Browse files
committed
Fix function_may_throw maybe uninitialised error with gcc-12
1 parent 9066460 commit 859ac17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbmc/src/java_bytecode/remove_exceptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class remove_exceptionst
9595
message_handlert &_message_handler)
9696
: symbol_table(_symbol_table),
9797
class_hierarchy(_class_hierarchy),
98-
function_may_throw(_function_may_throw),
98+
function_may_throw(std::move(_function_may_throw)),
9999
remove_added_instanceof(_remove_added_instanceof),
100100
message_handler(_message_handler)
101101
{

0 commit comments

Comments
 (0)