diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-04-18 22:45:39 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-04-18 22:45:39 +0000 |
| commit | 7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab (patch) | |
| tree | 662d44a97baffe8778f555b43203ad0257c71808 /lldb/source/Target/OperatingSystem.cpp | |
| parent | 9f7a221fdcaf250db64b441558647384785cde5e (diff) | |
After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.
llvm-svn: 179805
Diffstat (limited to 'lldb/source/Target/OperatingSystem.cpp')
| -rw-r--r-- | lldb/source/Target/OperatingSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/OperatingSystem.cpp b/lldb/source/Target/OperatingSystem.cpp index 543488561428..33ae584f336c 100644 --- a/lldb/source/Target/OperatingSystem.cpp +++ b/lldb/source/Target/OperatingSystem.cpp @@ -28,7 +28,7 @@ OperatingSystem::FindPlugin (Process *process, const char *plugin_name) create_callback = PluginManager::GetOperatingSystemCreateCallbackForPluginName (plugin_name); if (create_callback) { - STD_UNIQUE_PTR(OperatingSystem) instance_ap(create_callback(process, true)); + std::unique_ptr<OperatingSystem> instance_ap(create_callback(process, true)); if (instance_ap.get()) return instance_ap.release(); } @@ -37,7 +37,7 @@ OperatingSystem::FindPlugin (Process *process, const char *plugin_name) { for (uint32_t idx = 0; (create_callback = PluginManager::GetOperatingSystemCreateCallbackAtIndex(idx)) != NULL; ++idx) { - STD_UNIQUE_PTR(OperatingSystem) instance_ap(create_callback(process, false)); + std::unique_ptr<OperatingSystem> instance_ap(create_callback(process, false)); if (instance_ap.get()) return instance_ap.release(); } |
