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/Platform.cpp | |
parent | 9f7a221fdcaf250db64b441558647384785cde5e (diff) | |
download | bcm5719-llvm-7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab.tar.gz bcm5719-llvm-7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab.zip |
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/Platform.cpp')
-rw-r--r-- | lldb/source/Target/Platform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index e58618e36d4..ed98fb26286 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -109,7 +109,7 @@ Platform::FindPlugin (Process *process, const char *plugin_name) { arch = process->GetTarget().GetArchitecture(); } - STD_UNIQUE_PTR(Platform) instance_ap(create_callback(process, &arch)); + std::unique_ptr<Platform> instance_ap(create_callback(process, &arch)); if (instance_ap.get()) return instance_ap.release(); } @@ -118,7 +118,7 @@ Platform::FindPlugin (Process *process, const char *plugin_name) { for (uint32_t idx = 0; (create_callback = PluginManager::GetPlatformCreateCallbackAtIndex(idx)) != NULL; ++idx) { - STD_UNIQUE_PTR(Platform) instance_ap(create_callback(process, false)); + std::unique_ptr<Platform> instance_ap(create_callback(process, false)); if (instance_ap.get()) return instance_ap.release(); } |