diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 99c099a..22c51fb 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -13195,8 +13195,7 @@ catch_ada_completer (struct cmd_list_element *cmd, completion_tracker &tracker, for (const ada_exc_info &info : exceptions) { if (startswith (info.name, word)) - tracker.add_completion - (gdb::unique_xmalloc_ptr<char> (xstrdup (info.name))); + tracker.add_completion (make_unique_xstrdup (info.name)); } } |