aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/Logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Logging/Logger.cpp')
-rw-r--r--src/common/Logging/Logger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/Logging/Logger.cpp b/src/common/Logging/Logger.cpp
index 8e2927c08bd..63653770ade 100644
--- a/src/common/Logging/Logger.cpp
+++ b/src/common/Logging/Logger.cpp
@@ -54,7 +54,7 @@ void Logger::write(LogMessage* message) const
return;
}
- for (auto it = appenders.begin(); it != appenders.end(); ++it)
- if (it->second)
- it->second->write(message);
+ for (std::pair<uint8 const, Appender*> const& appender : appenders)
+ if (appender.second)
+ appender.second->write(message);
}