mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.
llvm-svn: 179805
This commit is contained in:
@@ -24,7 +24,7 @@ UnwindAssembly::FindPlugin (const ArchSpec &arch)
|
||||
(create_callback = PluginManager::GetUnwindAssemblyCreateCallbackAtIndex(idx)) != NULL;
|
||||
++idx)
|
||||
{
|
||||
STD_UNIQUE_PTR(UnwindAssembly) assembly_profiler_ap (create_callback (arch));
|
||||
std::unique_ptr<UnwindAssembly> assembly_profiler_ap (create_callback (arch));
|
||||
if (assembly_profiler_ap.get ())
|
||||
return assembly_profiler_ap.release ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user