diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-07-20 02:46:38 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-07-20 02:46:38 +0000 |
commit | 31aedc36c0234bfa1b6902e748032b9c49ed2f03 (patch) | |
tree | afc70f11d77ae96073c390118f32c23efadd5ffc /gcc/cp/class.c | |
parent | e05de6f246b5bb905229c0f9365010d7adf15bdc (diff) | |
download | gcc-31aedc36c0234bfa1b6902e748032b9c49ed2f03.zip gcc-31aedc36c0234bfa1b6902e748032b9c49ed2f03.tar.gz gcc-31aedc36c0234bfa1b6902e748032b9c49ed2f03.tar.bz2 |
Revert patch for PR c++/16623.
From-SVN: r84942
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 75f7152..69f6d9e 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -2558,11 +2558,7 @@ add_implicitly_declared_members (tree t, of the parameter to the assignment operator will be a const or non-const reference. */ if (!TYPE_HAS_ASSIGN_REF (t) && !TYPE_FOR_JAVA (t)) - { - TYPE_HAS_ASSIGN_REF (t) = 1; - TYPE_HAS_CONST_ASSIGN_REF (t) = !cant_have_const_assignment; - CLASSTYPE_LAZY_ASSIGNMENT_OP (t) = 1; - } + TYPE_HAS_CONST_ASSIGN_REF (t) = !cant_have_const_assignment; /* Now, hook all of the new functions on to TYPE_METHODS, and add them to the CLASSTYPE_METHOD_VEC. */ |