Skip to content

Commit

Permalink
Use a reference with exception types that use vtables
Browse files Browse the repository at this point in the history
GCC 8 warns about this.
  • Loading branch information
tautschnig committed Jun 5, 2018
1 parent 7211280 commit e5f3c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbmc/src/java_bytecode/expr2java.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ std::string floating_point_to_java_string(float_type value)
{
return std::stod(decimal) == value;
}
catch(std::out_of_range)
catch(std::out_of_range &)
{
return false;
}
Expand Down

0 comments on commit e5f3c41

Please sign in to comment.