aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index e3c65f8..802d4c0 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -1068,8 +1068,6 @@ lazily_declare_fn (special_function_kind sfk, tree type)
/* Create appropriate clones. */
clone_function_decl (fn, /*update_method_vec=*/true);
}
- else if (sfk == sfk_assignment_operator)
- CLASSTYPE_LAZY_ASSIGNMENT_OP (type) = 0;
return fn;
}