Skip to content

Commit e5f3c41

Browse files
committed
Use a reference with exception types that use vtables
GCC 8 warns about this.
1 parent 7211280 commit e5f3c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbmc/src/java_bytecode/expr2java.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ std::string floating_point_to_java_string(float_type value)
8383
{
8484
return std::stod(decimal) == value;
8585
}
86-
catch(std::out_of_range)
86+
catch(std::out_of_range &)
8787
{
8888
return false;
8989
}

0 commit comments

Comments
 (0)