summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/MachThread.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-03-14 03:07:05 +0000
committerGreg Clayton <gclayton@apple.com>2012-03-14 03:07:05 +0000
commitd64afba584c9622f777f1b9910007b28e6c04da6 (patch)
treefd77bb4902db63051a1ebc04500f5b191fe05785 /lldb/tools/debugserver/source/MacOSX/MachThread.h
parenta9916d0296fc74bb40aa2e02a1f42bdf4b4239a4 (diff)
downloadbcm5719-llvm-d64afba584c9622f777f1b9910007b28e6c04da6.tar.gz
bcm5719-llvm-d64afba584c9622f777f1b9910007b28e6c04da6.zip
<rdar://problem/10434005>
Prepare LLDB to be built with C++11 by hiding all accesses to std::tr1 behind macros that allows us to easily compile for either C++. llvm-svn: 152698
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachThread.h')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachThread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachThread.h b/lldb/tools/debugserver/source/MacOSX/MachThread.h
index b76e84872de..7aa299b2439 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachThread.h
+++ b/lldb/tools/debugserver/source/MacOSX/MachThread.h
@@ -16,7 +16,6 @@
#include <string>
#include <vector>
-#include <tr1/memory> // for std::tr1::shared_ptr
#include <libproc.h>
#include <mach/mach.h>
@@ -137,6 +136,6 @@ private:
void HardwareWatchpointStateChanged(); // Provide a chance to update the global view of the hardware watchpoint state
};
-typedef std::tr1::shared_ptr<MachThread> MachThreadSP;
+typedef STD_SHARED_PTR(MachThread) MachThreadSP;
#endif
OpenPOWER on IntegriCloud