Commit 312ea236 by Mark Mitchell Committed by Mark Mitchell

* pt.c (check_explicit_instantiation_namespace): Fix typo.

From-SVN: r104311
parent 9c12301f
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.
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment