summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-09-01 00:32:53 +0000
committerEnrico Granata <egranata@apple.com>2016-09-01 00:32:53 +0000
commit4fd2f404aeff1af15ba3930a107624c57a04bb63 (patch)
tree729c7e22f79f2c8de01719a5b6fab40a1a4c4c0a /lldb
parent7eef5fa14756629dfb0682650a06ea4f2fe19593 (diff)
downloadbcm5719-llvm-4fd2f404aeff1af15ba3930a107624c57a04bb63.tar.gz
bcm5719-llvm-4fd2f404aeff1af15ba3930a107624c57a04bb63.zip
There exists at least one compiler on one platform that doesn't know how to assert on a std::shared_ptr<>
Appease it by being very very very explicit about what I mean llvm-svn: 280328
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index fa89da11904..9c9abc55320 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -1097,7 +1097,7 @@ protected:
m_base_addr(base),
m_is_valid(true)
{
- lldbassert(process_sp);
+ lldbassert(process_sp.get() != nullptr);
}
bool
OpenPOWER on IntegriCloud