]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
class.c (check_field_decls): Fix typo.
authorMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)
* class.c (check_field_decls): Fix typo.

[[Split portion of a mixed commit.]]

From-SVN: r58516.1

gcc/cp/class.c

index 1c8ff2b26688fb465ce9f82dcaa8532247b33714..15aa043a8a55cd9006a7e4d884fb188b4dcde62e 100644 (file)
@@ -3260,7 +3260,7 @@ check_field_decls (t, access_decls, empty_p,
              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;
            }
        }