diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index db8886c..81eaffe 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -11404,12 +11404,12 @@ tsubst_copy_and_build (tree t, /*fn_p=*/NULL, complain)); } - /* Pass true for koenig_p so that build_new_function_call will + /* Pass -1 for koenig_p so that build_new_function_call will allow hidden friends found by arg-dependent lookup at template parsing time. */ return finish_call_expr (function, call_args, /*disallow_virtual=*/qualified_p, - /*koenig_p*/true, + /*koenig_p*/-1, complain); } |