summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Memory.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/Target/Memory.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/Target/Memory.cpp')
-rw-r--r--lldb/source/Target/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Memory.cpp b/lldb/source/Target/Memory.cpp
index f9aaca1e356..ecefd2ef0e0 100644
--- a/lldb/source/Target/Memory.cpp
+++ b/lldb/source/Target/Memory.cpp
@@ -178,7 +178,7 @@ MemoryCache::Read (addr_t addr,
if (bytes_left > 0)
{
assert ((curr_addr % cache_line_byte_size) == 0);
- STD_UNIQUE_PTR(DataBufferHeap) data_buffer_heap_ap(new DataBufferHeap (cache_line_byte_size, 0));
+ std::unique_ptr<DataBufferHeap> data_buffer_heap_ap(new DataBufferHeap (cache_line_byte_size, 0));
size_t process_bytes_read = m_process.ReadMemoryFromInferior (curr_addr,
data_buffer_heap_ap->GetBytes(),
data_buffer_heap_ap->GetByteSize(),
OpenPOWER on IntegriCloud