diff options
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 4f0b216..f164494 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -927,10 +927,6 @@ grokfield (const cp_declarator *declarator, } else if (init == ridpointers[(int)RID_DEFAULT]) { - if (friendp) - /* ??? do_friend doesn't set this because funcdef_flag is false - for in-class defaulted functions. So set it here. */ - SET_DECL_FRIEND_CONTEXT (value, current_class_type); if (defaultable_fn_check (value)) { DECL_DEFAULTED_FN (value) = 1; |