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/Plugins/ObjectFile/ELF/ObjectFileELF.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/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index cfe9b877d78..0ce96b972d8 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -198,7 +198,7 @@ ObjectFileELF::CreateInstance (const lldb::ModuleSP &module_sp, unsigned address_size = ELFHeader::AddressSizeInBytes(magic); if (address_size == 4 || address_size == 8) { - STD_UNIQUE_PTR(ObjectFileELF) objfile_ap(new ObjectFileELF(module_sp, data_sp, data_offset, file, file_offset, length)); + std::unique_ptr<ObjectFileELF> objfile_ap(new ObjectFileELF(module_sp, data_sp, data_offset, file, file_offset, length)); ArchSpec spec; if (objfile_ap->GetArchitecture(spec) && objfile_ap->SetModulesArchitecture(spec)) |