summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/FileSpec.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-04-18 22:45:39 +0000
committerGreg Clayton <gclayton@apple.com>2013-04-18 22:45:39 +0000
commit7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab (patch)
tree662d44a97baffe8778f555b43203ad0257c71808 /lldb/source/Host/common/FileSpec.cpp
parent9f7a221fdcaf250db64b441558647384785cde5e (diff)
downloadbcm5719-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/Host/common/FileSpec.cpp')
-rw-r--r--lldb/source/Host/common/FileSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/FileSpec.cpp b/lldb/source/Host/common/FileSpec.cpp
index fab7ea1eccb..beeb63da6b0 100644
--- a/lldb/source/Host/common/FileSpec.cpp
+++ b/lldb/source/Host/common/FileSpec.cpp
@@ -744,7 +744,7 @@ DataBufferSP
FileSpec::MemoryMapFileContents(off_t file_offset, size_t file_size) const
{
DataBufferSP data_sp;
- STD_UNIQUE_PTR(DataBufferMemoryMap) mmap_data(new DataBufferMemoryMap());
+ std::unique_ptr<DataBufferMemoryMap> mmap_data(new DataBufferMemoryMap());
if (mmap_data.get())
{
if (mmap_data->MemoryMapFromFileSpec (this, file_offset, file_size) >= file_size)
OpenPOWER on IntegriCloud