1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Stop misusing volatile keyword

This commit is contained in:
sfan5 2024-05-14 19:26:22 +02:00
parent 4c9be808a7
commit 27cb54c1db
4 changed files with 11 additions and 11 deletions

View file

@ -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);