summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbcontroller.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-23 12:47:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-07 00:27:18 +0900
commit43fd0a38af0135396d52cc9ace6900269824deae (patch)
tree89b4d12e7194a5f4223b2269d14f7d685d475b28 /languages/cpp/debugger/gdbcontroller.h
parentc891bb5d0682b26c64cee49cbdbfe398285c4c1b (diff)
downloadtdevelop-43fd0a38af0135396d52cc9ace6900269824deae.tar.gz
tdevelop-43fd0a38af0135396d52cc9ace6900269824deae.zip
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 12c95f5db577785d29c51643f20fe2c8700af7cb)
Diffstat (limited to 'languages/cpp/debugger/gdbcontroller.h')
-rw-r--r--languages/cpp/debugger/gdbcontroller.h2
1 files changed, 1 insertions, 1 deletions
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<GDBMI::ResultRecord> last_stop_result;
+ std::unique_ptr<GDBMI::ResultRecord> 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