fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR)

This was SVN commit r5532.
This commit is contained in:
janwas
2007-12-29 16:22:23 +00:00
parent 5768b9b8ab
commit 5529977ecd
67 changed files with 212 additions and 226 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ bool XMLWriter_File::StoreVFS(const char* filename)
LibError ret = g_VFS->CreateFile(filename, data, size);
if (ret < 0)
{
LOG(ERROR, "xml", "Error saving XML data through VFS: %d", ret);
LOG(CLogger::Error, "xml", "Error saving XML data through VFS: %d", ret);
return false;
}
return true;