aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 67a1352..29e435a 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6089,7 +6089,7 @@ grokfndecl (tree ctype,
{
error (ctype
? G_("static member function %qD cannot have cv-qualifier")
- : G_("non-static member function %qD cannot have cv-qualifier"),
+ : G_("non-member function %qD cannot have cv-qualifier"),
decl);
quals = TYPE_UNQUALIFIED;
}