summaryrefslogtreecommitdiffstats
path: root/src/lib/cc
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2013-02-02 03:41:19 +0100
committerJINMEI Tatuya <jinmei@isc.org>2013-02-02 03:41:19 +0100
commitf6959cc20c195647f061b13d2aeafb6e8cdb11de (patch)
treeb106b7af5baf58a4c369691e62551671d09b0017 /src/lib/cc
parent[1924] added blnak lines between method declarations for readability. (diff)
downloadkea-f6959cc20c195647f061b13d2aeafb6e8cdb11de.tar.xz
kea-f6959cc20c195647f061b13d2aeafb6e8cdb11de.zip
[1924] constify
Diffstat (limited to 'src/lib/cc')
-rw-r--r--src/lib/cc/tests/session_unittests.cc6
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());