There exists at least one compiler on one platform that doesn't know how to assert...
authorEnrico Granata <egranata@apple.com>
Thu, 1 Sep 2016 00:32:53 +0000 (00:32 +0000)
committerEnrico Granata <egranata@apple.com>
Thu, 1 Sep 2016 00:32:53 +0000 (00:32 +0000)
Appease it by being very very very explicit about what I mean

llvm-svn: 280328

lldb/source/Commands/CommandObjectMemory.cpp

index fa89da1..9c9abc5 100644 (file)
@@ -1097,7 +1097,7 @@ protected:
       m_base_addr(base),
       m_is_valid(true)
       {
-          lldbassert(process_sp);
+          lldbassert(process_sp.get() != nullptr);
       }
       
       bool