BIND 10 trac1924, updated. f6959cc20c195647f061b13d2aeafb6e8cdb11de [1924] constify

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Feb 2 02:41:38 UTC 2013


The branch, trac1924 has been updated
       via  f6959cc20c195647f061b13d2aeafb6e8cdb11de (commit)
      from  dfee1cf2eaeca6f2b5729027f3bd51e640ab482b (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 f6959cc20c195647f061b13d2aeafb6e8cdb11de
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Feb 1 18:41:19 2013 -0800

    [1924] constify

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

Summary of changes:
 src/lib/cc/tests/session_unittests.cc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/cc/tests/session_unittests.cc b/src/lib/cc/tests/session_unittests.cc
index eb7101a..93392f0 100644
--- a/src/lib/cc/tests/session_unittests.cc
+++ b/src/lib/cc/tests/session_unittests.cc
@@ -208,7 +208,7 @@ protected:
 
     // Check two elements are equal
     void elementsEqual(const ConstElementPtr& expected,
-                       const ConstElementPtr& actual)
+                       const ConstElementPtr& actual) const
     {
         EXPECT_TRUE(expected->equals(*actual)) <<
             "Elements differ, expected: " << expected->toWire() <<
@@ -217,7 +217,7 @@ protected:
 
     // The same, but with one specified as string
     void elementsEqual(const string& expected,
-                       const ConstElementPtr& actual)
+                       const ConstElementPtr& actual) const
     {
         const ConstElementPtr expected_el(Element::fromJSON(expected));
         elementsEqual(expected_el, actual);
@@ -226,7 +226,7 @@ protected:
     // Check the session sent a message with the given header. The
     // message is hardcoded.
     void checkSentMessage(const string& expected_hdr,
-                          const char* description)
+                          const char* description) const
     {
         SCOPED_TRACE(description);
         const SentMessage msg(tds->readmsg());



More information about the bind10-changes mailing list