* valops.c (find_overload_match): Use value_ind.

This commit is contained in:
Tom Tromey 2012-06-15 14:35:33 +00:00
parent 984359d2e1
commit 2b214ea697
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-06-15 Tom Tromey <tromey@redhat.com>
* valops.c (find_overload_match): Use value_ind.
2012-06-15 Maciej W. Rozycki <macro@codesourcery.com>
* infrun.c (handle_inferior_event): Correct indentation.

View File

@ -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)
{