From 2b214ea69762328de2bcfc4fdbde189d4aab850d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 15 Jun 2012 14:35:33 +0000 Subject: * valops.c (find_overload_match): Use value_ind. --- gdb/valops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/valops.c') diff --git a/gdb/valops.c b/gdb/valops.c index feb47f5..afec392 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -2681,8 +2681,7 @@ find_overload_match (struct value **args, int nargs, and non member function, the first argument must now be dereferenced. */ if (method == BOTH) - deprecated_set_value_type (args[0], - TYPE_TARGET_TYPE (value_type (args[0]))); + args[0] = value_ind (args[0]); if (fsym) { -- cgit v1.1