Use conventional spelling of always-failing assert.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 2 May 2018 22:21:11 +0000 (22:21 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 2 May 2018 22:21:11 +0000 (22:21 +0000)
Fixes -Wstring-conversion warning that was breaking -Werror builds.

llvm-svn: 331406

lldb/source/Core/Module.cpp

index 94fbc72..db198d3 100644 (file)
@@ -342,7 +342,7 @@ void Module::SetUUID(const lldb_private::UUID &uuid) {
     m_uuid = uuid;
     m_did_set_uuid = true;
   } else {
-    lldbassert(!"Attempting to overwrite the existing module UUID");
+    lldbassert(0 && "Attempting to overwrite the existing module UUID");
   }
 }