summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/StreamAsynchronousIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/StreamAsynchronousIO.cpp')
-rw-r--r--lldb/source/Core/StreamAsynchronousIO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/StreamAsynchronousIO.cpp b/lldb/source/Core/StreamAsynchronousIO.cpp
index d6ab0d85725..5e14d13e9a6 100644
--- a/lldb/source/Core/StreamAsynchronousIO.cpp
+++ b/lldb/source/Core/StreamAsynchronousIO.cpp
@@ -35,7 +35,7 @@ StreamAsynchronousIO::Flush ()
{
if (m_accumulated_data.GetSize() > 0)
{
- std::auto_ptr<EventDataBytes> data_bytes_ap (new EventDataBytes);
+ STD_UNIQUE_PTR(EventDataBytes) data_bytes_ap (new EventDataBytes);
// Let's swap the bytes to avoid LARGE string copies.
data_bytes_ap->SwapBytes (m_accumulated_data.GetString());
EventSP new_event_sp (new Event (m_broadcast_event_type, data_bytes_ap.release()));
OpenPOWER on IntegriCloud