OSDN Git Service

* class.c (check_field_decls): Fix typo.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Oct 2002 23:43:48 +0000 (23:43 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Oct 2002 23:43:48 +0000 (23:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58517 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/class.c

index 1439833..20be4eb 100644 (file)
@@ -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;
            }
        }