summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/Host.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/Host.cpp')
-rw-r--r--lldb/source/Host/common/Host.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index 61386b5833b..90de94cf10c 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -1313,7 +1313,7 @@ Host::RunShellCommand (const char *command,
}
// The process monitor callback will delete the 'shell_info_ptr' below...
- std::auto_ptr<ShellInfo> shell_info_ap (new ShellInfo());
+ STD_UNIQUE_PTR(ShellInfo) shell_info_ap (new ShellInfo());
const bool monitor_signals = false;
launch_info.SetMonitorProcessCallback(MonitorShellCommand, shell_info_ap.get(), monitor_signals);
@@ -1324,7 +1324,7 @@ Host::RunShellCommand (const char *command,
{
// The process successfully launched, so we can defer ownership of
// "shell_info" to the MonitorShellCommand callback function that will
- // get called when the process dies. We release the std::auto_ptr as it
+ // get called when the process dies. We release the unique pointer as it
// doesn't need to delete the ShellInfo anymore.
ShellInfo *shell_info = shell_info_ap.release();
TimeValue timeout_time(TimeValue::Now());
OpenPOWER on IntegriCloud