diff options
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 2 | ||||
-rw-r--r-- | gdb/mi/mi-out.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index abcd0d3..14ed2a1 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1932,7 +1932,7 @@ mi_execute_command (const char *cmd, int from_tty) = gdb::checked_static_cast<mi_interp *> (command_interp ()); try { - command = gdb::make_unique<mi_parse> (cmd, &token); + command = std::make_unique<mi_parse> (cmd, &token); } catch (const gdb_exception &exception) { diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index bbd2128..0bc13f9 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -340,13 +340,13 @@ std::unique_ptr<mi_ui_out> mi_out_new (const char *mi_version) { if (streq (mi_version, INTERP_MI4) || streq (mi_version, INTERP_MI)) - return gdb::make_unique<mi_ui_out> (4); + return std::make_unique<mi_ui_out> (4); if (streq (mi_version, INTERP_MI3)) - return gdb::make_unique<mi_ui_out> (3); + return std::make_unique<mi_ui_out> (3); if (streq (mi_version, INTERP_MI2)) - return gdb::make_unique<mi_ui_out> (2); + return std::make_unique<mi_ui_out> (2); return nullptr; } |