summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/freebsd/Host.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/freebsd/Host.cpp')
-rw-r--r--lldb/source/Host/freebsd/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/freebsd/Host.cpp b/lldb/source/Host/freebsd/Host.cpp
index 3e787cfba02..453bcf5f1cf 100644
--- a/lldb/source/Host/freebsd/Host.cpp
+++ b/lldb/source/Host/freebsd/Host.cpp
@@ -294,7 +294,7 @@ Host::GetAuxvData(lldb_private::Process *process)
struct ps_strings ps_strings;
struct ptrace_io_desc pid;
DataBufferSP buf_sp;
- std::auto_ptr<DataBufferHeap> buf_ap(new DataBufferHeap(1024, 0));
+ STD_UNIQUE_PTR(DataBufferHeap) buf_ap(new DataBufferHeap(1024, 0));
if (::sysctl(mib, 2, &ps_strings_addr, &ps_strings_size, NULL, 0) == 0) {
pid.piod_op = PIOD_READ_D;
OpenPOWER on IntegriCloud