diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-mi.c | 2 | ||||
-rw-r--r-- | gdb/python/py-varobj.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-mi.c b/gdb/python/py-mi.c index a7b4f4f..aaa225d 100644 --- a/gdb/python/py-mi.c +++ b/gdb/python/py-mi.c @@ -290,7 +290,7 @@ gdbpy_execute_mi_command (PyObject *self, PyObject *args, PyObject *kw) try { scoped_restore save_uiout = make_scoped_restore (¤t_uiout, &uiout); - auto parser = gdb::make_unique<mi_parse> (std::move (mi_command), + auto parser = std::make_unique<mi_parse> (std::move (mi_command), std::move (arg_strings)); mi_execute_command (parser.get ()); } diff --git a/gdb/python/py-varobj.c b/gdb/python/py-varobj.c index 98603ce..3401cf2 100644 --- a/gdb/python/py-varobj.c +++ b/gdb/python/py-varobj.c @@ -170,5 +170,5 @@ py_varobj_get_iterator (struct varobj *var, PyObject *printer, error (_("Could not get children iterator")); } - return gdb::make_unique<py_varobj_iter> (var, std::move (iter), opts); + return std::make_unique<py_varobj_iter> (var, std::move (iter), opts); } |