* pt.c (check_explicit_instantiation_namespace): Fix typo.

From-SVN: r104311
This commit is contained in:
Mark Mitchell 2005-09-15 16:51:37 +00:00 committed by Mark Mitchell
parent 9c12301f5b
commit 312ea2368e
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2005-09-15 Mark Mitchell <mark@codesourcery.com>
* pt.c (check_explicit_instantiation_namespace): Fix typo.
PR c++/13140
* decl.c (check_class_member_definition_namespace): New function.
(grokfndecl): Use it.

View File

@ -685,7 +685,7 @@ check_explicit_instantiation_namespace (tree spec)
ns = decl_namespace_context (spec);
if (!is_ancestor (current_namespace, ns))
pedwarn ("explicit instantiation of %qD in namespace %qD "
"(which does not enclose namespace %qD)"
"(which does not enclose namespace %qD)",
spec, current_namespace, ns);
}