mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Remove mutex from access to constant value
This commit is contained in:
parent
73fdd12581
commit
b0ff97675e
@ -157,7 +157,6 @@ void CLogger::log(ELogLevel::ELogLevel level, const boost::format & fmt) const
|
||||
|
||||
ELogLevel::ELogLevel CLogger::getLevel() const
|
||||
{
|
||||
TLockGuard _(mx);
|
||||
return level;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user