mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-12 04:05:26 +01:00
Stop misusing volatile keyword
This commit is contained in:
@@ -253,7 +253,7 @@ const std::string Logger::getThreadName()
|
||||
|
||||
void Logger::log(LogLevel lev, const std::string &text)
|
||||
{
|
||||
if (m_silenced_levels[lev])
|
||||
if (isLevelSilenced(lev))
|
||||
return;
|
||||
|
||||
const std::string thread_name = getThreadName();
|
||||
@@ -267,7 +267,7 @@ void Logger::log(LogLevel lev, const std::string &text)
|
||||
|
||||
void Logger::logRaw(LogLevel lev, const std::string &text)
|
||||
{
|
||||
if (m_silenced_levels[lev])
|
||||
if (isLevelSilenced(lev))
|
||||
return;
|
||||
|
||||
logToOutputsRaw(lev, text);
|
||||
|
||||
Reference in New Issue
Block a user