Author: enrico
Date: Wed Aug 31 19:32:53 2016
New Revision: 280328

URL: http://llvm.org/viewvc/llvm-project?rev=280328&view=rev
Log:
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


Modified:
    lldb/trunk/source/Commands/CommandObjectMemory.cpp

Modified: lldb/trunk/source/Commands/CommandObjectMemory.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectMemory.cpp?rev=280328&r1=280327&r2=280328&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectMemory.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectMemory.cpp Wed Aug 31 19:32:53 2016
@@ -1097,7 +1097,7 @@ protected:
       m_base_addr(base),
       m_is_valid(true)
       {
-          lldbassert(process_sp);
+          lldbassert(process_sp.get() != nullptr);
       }
       
       bool


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to