diff options
author | Enrico Granata <egranata@apple.com> | 2016-09-01 00:32:53 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-09-01 00:32:53 +0000 |
commit | 4fd2f404aeff1af15ba3930a107624c57a04bb63 (patch) | |
tree | 729c7e22f79f2c8de01719a5b6fab40a1a4c4c0a /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 7eef5fa14756629dfb0682650a06ea4f2fe19593 (diff) | |
download | llvm-4fd2f404aeff1af15ba3930a107624c57a04bb63.zip llvm-4fd2f404aeff1af15ba3930a107624c57a04bb63.tar.gz llvm-4fd2f404aeff1af15ba3930a107624c57a04bb63.tar.bz2 |
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/source/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index fa89da11..9c9abc5 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 |