From 331eb5a224b3cf7cbfa0f44ee761108c8b56540f Mon Sep 17 00:00:00 2001 From: mmitchel Date: Thu, 24 Oct 2002 23:43:48 +0000 Subject: [PATCH] * class.c (check_field_decls): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58517 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 1439833b209..20be4ebd759 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -3181,7 +3181,7 @@ check_field_decls (tree t, tree *access_decls, element_type = strip_array_types (type); if (CLASS_TYPE_P (element_type) && CLASSTYPE_CONTAINS_EMPTY_CLASS_P (element_type)) - CLASSTYPE_CONTAINS_EMPTY_CLASS_P (element_type) = 1; + CLASSTYPE_CONTAINS_EMPTY_CLASS_P (t) = 1; } } -- 2.11.0