diff options
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 0300727..2af0218 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -674,7 +674,7 @@ mangled_name_to_comp (const char *mangled_name, int options, options, memory); if (ret) { - std::unique_ptr<demangle_parse_info> info (new demangle_parse_info); + auto info = gdb::make_unique<demangle_parse_info> (); info->tree = ret; *demangled_p = NULL; return info; |