resolving within the scope of CTYPE. */
tree pushed_scope = push_scope (ctype);
tree matched = NULL_TREE;
- tree fns = lookup_fnfields_slot (ctype, DECL_NAME (function));
+ tree fns = get_class_binding (ctype, DECL_NAME (function));
for (ovl_iterator iter (fns); !matched && iter; ++iter)
{
else
{
if (DECL_CONV_FN_P (function))
- fns = lookup_fnfields_slot (ctype, conv_op_identifier);
+ fns = get_class_binding (ctype, conv_op_identifier);
error_at (DECL_SOURCE_LOCATION (function),
"no declaration matches %q#D", function);