]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2445] constify
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 10 Dec 2012 17:26:34 +0000 (09:26 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 10 Dec 2012 17:26:34 +0000 (09:26 -0800)
src/lib/log/buffer_appender_impl.cc

index 059500cd8a7822a6dbc5ae00836102ba2005ceac..8899c4f7cfc407b9fbfba1e7d8ff710c6dcc82b2 100644 (file)
@@ -43,7 +43,7 @@ BufferAppender::flushStdout() {
     // be a good idea; as we can't reliably know whether in what
     // state the logger instance is now (or what the specific logger's
     // settings were).
-    LogEventList::iterator it;
+    LogEventList::const_iterator it;
     for (it = stored_.begin(); it != stored_.end(); ++it) {
         const std::string level(it->first);
         LogEventPtr event(it->second);