From 12c95f5db577785d29c51643f20fe2c8700af7cb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 23 Jan 2024 12:47:15 +0900 Subject: Replace auto_ptr Signed-off-by: Michele Calgaro --- languages/cpp/debugger/gdbcontroller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'languages/cpp/debugger/gdbcontroller.h') diff --git a/languages/cpp/debugger/gdbcontroller.h b/languages/cpp/debugger/gdbcontroller.h index ef7800b6..f0f6389b 100644 --- a/languages/cpp/debugger/gdbcontroller.h +++ b/languages/cpp/debugger/gdbcontroller.h @@ -330,7 +330,7 @@ private: // After highting current line we need to do something more, // like announcing write watchpoints, and so need to have // access to the stop packet. So store it here. - std::auto_ptr last_stop_result; + std::unique_ptr last_stop_result; // Gdb 6.4 (and 6.3) does not support "character" format with MI, // so the only way it can work is via the "print" command. As gdb -- cgit v1.2.3