name-lookup.h (lookup_fnfields_slot_nolazy, [...]): Rename to ...
[gcc.git] / gcc / cp / decl2.c
index 0f828b57396365684ce06ca5a6a6c91b899ffe58..d950a851cb9fc7708519bfe4239ff1890d5a6fb2 100644 (file)
@@ -606,7 +606,7 @@ check_classfn (tree ctype, tree function, tree template_parms)
      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)
     {
@@ -664,7 +664,7 @@ check_classfn (tree ctype, tree function, tree template_parms)
       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);