Fix LLDB after removal of PDB_ErrorCode

llvm-svn: 268802
diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
index 472999d..4b19b56 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
+++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
@@ -118,7 +118,7 @@
         // Lazily load and match the PDB file, but only do this once.
         std::string exePath = m_obj_file->GetFileSpec().GetPath();
         auto error = loadDataForEXE(PDB_ReaderType::DIA, llvm::StringRef(exePath), m_session_up);
-        if (error != PDB_ErrorCode::Success)
+        if (error)
             return 0;
     }
     return CompileUnits | LineTables;