Skip to content

Commit 9ee8c4c

Browse files
NinaRannsiains
authored andcommitted
review comments
1 parent e872f18 commit 9ee8c4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc/cp/parser.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31780,15 +31780,15 @@ cp_parser_inherited_contract_base (cp_parser *parser, tree fndecl,
3178031780
if (!base_type)
3178131781
{
3178231782
error_at (DECL_SOURCE_LOCATION(fndecl), "contracts"
31783-
" can only be inherited from a direct base class ");
31783+
" can only be inherited from a direct base class");
3178431784
return NULL_TREE ;
3178531785
}
3178631786

3178731787
tree base_fn = look_for_overrides_here (base_type, fndecl);
3178831788
if (!base_fn)
3178931789
{
3179031790
error_at (DECL_SOURCE_LOCATION (fndecl), "function does not "
31791-
"override a function in %qT ",
31791+
"override a function in %qT",
3179231792
base_type);
3179331793
return NULL_TREE ;
3179431794
}

0 commit comments

Comments
 (0)