* call.c (build_over_call): Pass 1 to popclass.

From-SVN: r21418
This commit is contained in:
Jason Merrill 1998-07-27 17:03:39 +00:00 committed by Jason Merrill
parent 92ac31f12b
commit 66c2127e18
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
1998-07-27 Jason Merrill <jason@yorick.cygnus.com> 1998-07-27 Jason Merrill <jason@yorick.cygnus.com>
* call.c (build_over_call): Pass 1 to popclass.
* parse.y (direct_notype_declarator): Add precedence declaration * parse.y (direct_notype_declarator): Add precedence declaration
to notype_unqualified_id case. to notype_unqualified_id case.

View File

@ -3372,7 +3372,7 @@ build_over_call (cand, args, flags)
arg = tsubst_expr (arg, DECL_TI_ARGS (fn), NULL_TREE); arg = tsubst_expr (arg, DECL_TI_ARGS (fn), NULL_TREE);
if (DECL_CLASS_SCOPE_P (fn)) if (DECL_CLASS_SCOPE_P (fn))
popclass (0); popclass (1);
} }
converted_args = expr_tree_cons converted_args = expr_tree_cons
(NULL_TREE, convert_default_arg (TREE_VALUE (parm), arg), (NULL_TREE, convert_default_arg (TREE_VALUE (parm), arg),