Logger: remove semicolons from the macro definitions.
This'll force adding a semicolon to macro calls. Dunno why I missed that, considering the version that didn't lock the mutex also didn't have the last semicolon.
This commit is contained in:
parent
2d1d46ec08
commit
b0b227471a
1 changed files with 4 additions and 4 deletions
|
@ -61,13 +61,13 @@ bool tryLockMutex();
|
||||||
|
|
||||||
#define LOG_INFO(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
#define LOG_INFO(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
||||||
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Info, message); \
|
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Info, message); \
|
||||||
MassBuilderSaveTool::Logger::unlockMutex();
|
MassBuilderSaveTool::Logger::unlockMutex()
|
||||||
#define LOG_SUCCESS(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
#define LOG_SUCCESS(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
||||||
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Success, message); \
|
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Success, message); \
|
||||||
MassBuilderSaveTool::Logger::unlockMutex();
|
MassBuilderSaveTool::Logger::unlockMutex()
|
||||||
#define LOG_WARNING(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
#define LOG_WARNING(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
||||||
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Warning, message); \
|
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Warning, message); \
|
||||||
MassBuilderSaveTool::Logger::unlockMutex();
|
MassBuilderSaveTool::Logger::unlockMutex()
|
||||||
#define LOG_ERROR(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
#define LOG_ERROR(message) MassBuilderSaveTool::Logger::lockMutex(); \
|
||||||
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Error, message); \
|
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Error, message); \
|
||||||
MassBuilderSaveTool::Logger::unlockMutex();
|
MassBuilderSaveTool::Logger::unlockMutex()
|
||||||
|
|
Loading…
Reference in a new issue