1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Remove mutex from access to constant value

This commit is contained in:
Ivan Savenko 2024-07-03 21:16:25 +00:00
parent 73fdd12581
commit b0ff97675e

View File

@ -157,7 +157,6 @@ void CLogger::log(ELogLevel::ELogLevel level, const boost::format & fmt) const
ELogLevel::ELogLevel CLogger::getLevel() const ELogLevel::ELogLevel CLogger::getLevel() const
{ {
TLockGuard _(mx);
return level; return level;
} }