* pt.c (instantiate_class_template): Fix typo.

From-SVN: r55210
This commit is contained in:
Graham Stott 2002-07-03 12:13:31 +00:00 committed by Kriang Lerdsuwanakij
parent 34a80643d8
commit 492ff760e9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-07-03 Graham Stott <graham.stott@btinternet.com>
* pt.c (instantiate_class_template): Fix typo.
2002-07-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* typeck2.c (cxx_incomplete_type_diagnostic): Fix typo caused

View File

@ -5251,7 +5251,7 @@ instantiate_class_template (type)
tree rtype = TREE_TYPE (r);
if (!can_complete_type_without_circularity (rtype))
{
incomplete_type_error (r, rtype);
cxx_incomplete_type_error (r, rtype);
r = error_mark_node;
}
}