projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce and use make_unique_xstrdup
[deliverable/binutils-gdb.git]
/
gdb
/
ada-lang.c
diff --git
a/gdb/ada-lang.c
b/gdb/ada-lang.c
index 99c099aa07d79292ab1c042e8d46e1c237050f04..22c51fbf082473932192596ff02defe0c67c437a 100644
(file)
--- 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));
}
}
This page took
0.025467 seconds
and
4
git commands to generate.