From: Enrico Granata Date: Thu, 1 Sep 2016 00:32:53 +0000 (+0000) Subject: There exists at least one compiler on one platform that doesn't know how to assert... X-Git-Tag: llvmorg-4.0.0-rc1~10922 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fd2f404aeff1af15ba3930a107624c57a04bb63;p=platform%2Fupstream%2Fllvm.git 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 --- 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