aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 20:59:39 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:22:17 -0700
commit6bd5c75435099f09bf1b2027e118f66a6fd94218 (patch)
tree077e8f26538eb2bb12dc4d7bdb551ee1ecfcbfb2 /gdb/valops.c
parentfcf86fe5977ec47a0a6e32be9c1434ac808e2c4e (diff)
downloadgdb-6bd5c75435099f09bf1b2027e118f66a6fd94218.zip
gdb-6bd5c75435099f09bf1b2027e118f66a6fd94218.tar.gz
gdb-6bd5c75435099f09bf1b2027e118f66a6fd94218.tar.bz2
Turn some xmethod functions into methods
This turns value_from_xmethod, result_type_of_xmethod, and call_xmethod to be methods of value. value_from_xmethod is a static "constructor" now. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 137134a..89bd5c9 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -3028,7 +3028,7 @@ find_overload_match (gdb::array_view<value *> args,
method_oload_champ, basetype, boffset);
}
else
- *valp = value_from_xmethod
+ *valp = value::from_xmethod
(std::move (xmethods[ext_method_oload_champ]));
}
else