Skip to content

Commit cadeedf

Browse files
committed
Increase AssertionError arguments allowed from 2 to 3
There is a constructor for this class with 2 arguments plus implied this.
1 parent 2c4ad05 commit cadeedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/builtin_functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ void goto_convertt::do_function_call_symbol(
969969

970970
copy(function_call, FUNCTION_CALL, dest);
971971

972-
if(arguments.size()!=1 && arguments.size()!=2 && arguments.size()!=3)
972+
if(arguments.size() != 1 && arguments.size() != 2 && arguments.size() != 3)
973973
{
974974
error().source_location=function.find_source_location();
975975
error() << "`" << identifier

0 commit comments

Comments
 (0)