Skip to content

Commit 04fdf63

Browse files
NinaRannsiains
authored andcommitted
review comments
1 parent 47f3bf5 commit 04fdf63

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
@@ -31777,15 +31777,15 @@ cp_parser_inherited_contract_base (cp_parser *parser, tree fndecl,
3177731777
if (!base_type)
3177831778
{
3177931779
error_at (DECL_SOURCE_LOCATION(fndecl), "contracts"
31780-
" can only be inherited from a direct base class ");
31780+
" can only be inherited from a direct base class");
3178131781
return NULL_TREE ;
3178231782
}
3178331783

3178431784
tree base_fn = look_for_overrides_here (base_type, fndecl);
3178531785
if (!base_fn)
3178631786
{
3178731787
error_at (DECL_SOURCE_LOCATION (fndecl), "function does not "
31788-
"override a function in %qT ",
31788+
"override a function in %qT",
3178931789
base_type);
3179031790
return NULL_TREE ;
3179131791
}

0 commit comments

Comments
 (0)