From 492ff760e99ddd8d15eea392259b55d467466468 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Wed, 3 Jul 2002 12:13:31 +0000 Subject: [PATCH] * pt.c (instantiate_class_template): Fix typo. From-SVN: r55210 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dc673675e9c..0f4f6a02060 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-07-03 Graham Stott + + * pt.c (instantiate_class_template): Fix typo. + 2002-07-02 Kriang Lerdsuwanakij * typeck2.c (cxx_incomplete_type_diagnostic): Fix typo caused diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 68793c78427..2e589e7a71f 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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; } }