summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-20 22:09:21 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-20 22:09:21 +0100
commit64105cd84307c091e3dd2bea2727edf6bdf58ed6 (patch)
tree4722e8e75b9fe859aa6e53697df612a1e05a5693 /src/Log.cpp
parent3f094996520fbf006a567873bc9da4d1b430345f (diff)
downloaddabmod-64105cd84307c091e3dd2bea2727edf6bdf58ed6.tar.gz
dabmod-64105cd84307c091e3dd2bea2727edf6bdf58ed6.tar.bz2
dabmod-64105cd84307c091e3dd2bea2727edf6bdf58ed6.zip
fix some errors seen by cppcheck
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 2c4de21..91fd278 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -41,7 +41,7 @@ Logger::register_backend(LogBackend* backend) {
void
Logger::log(log_level_t level, std::string message) {
- for (std::list<LogBackend*>::iterator it = backends.begin(); it != backends.end(); it++) {
+ for (std::list<LogBackend*>::iterator it = backends.begin(); it != backends.end(); ++it) {
(*it)->log(level, message);
}
}