BIND 10 trac2445, updated. daca34509f65af73d06ce071340668258539f6c6 [2445] constify

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Dec 3 19:20:59 UTC 2012


The branch, trac2445 has been updated
       via  daca34509f65af73d06ce071340668258539f6c6 (commit)
      from  0b06fc6c1993467408bdb7f109affe029a834e3d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit daca34509f65af73d06ce071340668258539f6c6
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Dec 3 11:20:53 2012 -0800

    [2445] constify

-----------------------------------------------------------------------

Summary of changes:
 src/lib/log/log_buffer.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/log_buffer.cc b/src/lib/log/log_buffer.cc
index c054611..d98805d 100644
--- a/src/lib/log/log_buffer.cc
+++ b/src/lib/log/log_buffer.cc
@@ -59,7 +59,8 @@ LogBuffer::flush_stdout() {
     // So we print a slightly shortened format (it really only excludes
     // the time and the pid)
     std::vector<log4cplus::spi::InternalLoggingEvent>::const_iterator it;
-    log4cplus::LogLevelManager& manager = log4cplus::getLogLevelManager();
+    const log4cplus::LogLevelManager& manager =
+        log4cplus::getLogLevelManager();
     for (it = stored_.begin(); it != stored_.end(); ++it) {
         std::cout << manager.toString(it->getLogLevel()) << " " <<
                      "[" << it->getLoggerName() << "] " <<



More information about the bind10-changes mailing list