diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2013-02-02 03:41:19 +0100 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2013-02-02 03:41:19 +0100 |
commit | f6959cc20c195647f061b13d2aeafb6e8cdb11de (patch) | |
tree | b106b7af5baf58a4c369691e62551671d09b0017 /src/lib/cc | |
parent | [1924] added blnak lines between method declarations for readability. (diff) | |
download | kea-f6959cc20c195647f061b13d2aeafb6e8cdb11de.tar.xz kea-f6959cc20c195647f061b13d2aeafb6e8cdb11de.zip |
[1924] constify
Diffstat (limited to 'src/lib/cc')
-rw-r--r-- | src/lib/cc/tests/session_unittests.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/cc/tests/session_unittests.cc b/src/lib/cc/tests/session_unittests.cc index eb7101ac05..93392f06a5 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()); |