commit | 102b2c2681c9a830afe25bfea35557421905e42c | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Thu Apr 18 22:45:39 2013 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Thu Apr 18 22:45:39 2013 +0000 |
tree | 11f20adfe06617641669f6cd2b33867bd9e73049 | |
parent | 0f0551e67d8ea8d63ace5456f7d42d951827b017 [diff] [blame] |
After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179805 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 1d1a095..257c43a 100644 --- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -738,7 +738,7 @@ { Error error; // Sleep and wait a bit for debugserver to start to listen... - STD_UNIQUE_PTR(ConnectionFileDescriptor) conn_ap(new ConnectionFileDescriptor()); + std::unique_ptr<ConnectionFileDescriptor> conn_ap(new ConnectionFileDescriptor()); if (conn_ap.get()) { const uint32_t max_retry_count = 50;