From f82eb1d160fed2e817460596c1454e96be5a89be Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 23 Jan 2008 16:26:47 -0500 Subject: [PATCH] one more tweak From-SVN: r131766 --- gcc/cp/pt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 3c301f2adaa3..98adaec89a46 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -6331,7 +6331,7 @@ tsubst_aggr_type (tree t, /* If context is a nested class inside a class template, it may still need to be instantiated (c++/33959). */ if (TYPE_P (context)) - complete_type (context); + context = complete_type (context); } /* Then, figure out what arguments are appropriate for the -- 2.47.2