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:06:53 +0900
commit12c95f5db577785d29c51643f20fe2c8700af7cb (patch)
tree8845a757afbec274baf0ed3c677df1b43b52459a /languages/cpp/debugger/gdbcontroller.h
parentc8d7b46522918fbb19e77e7a12d7c1d0ed9ae390 (diff)
downloadtdevelop-12c95f5db577785d29c51643f20fe2c8700af7cb.tar.gz
tdevelop-12c95f5db577785d29c51643f20fe2c8700af7cb.zip
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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