BIND 10 trac2836, updated. 427bc05eee647c9c5afb013f07c0cc73ff17aecc [2836] style fixes: constify, folded a long line.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 8 21:58:29 UTC 2013
The branch, trac2836 has been updated
via 427bc05eee647c9c5afb013f07c0cc73ff17aecc (commit)
from 4f5e8221042782288e57974e38d4ab7d9de54740 (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 427bc05eee647c9c5afb013f07c0cc73ff17aecc
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed May 8 14:58:18 2013 -0700
[2836] style fixes: constify, folded a long line.
-----------------------------------------------------------------------
Summary of changes:
.../tests/memory/zone_data_updater_unittest.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc b/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
index cde9e27..752df21 100644
--- a/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
+++ b/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
@@ -157,7 +157,7 @@ public:
EXPECT_EQ(0, unlink(mapped_file));
}
private:
- size_t initial_size_;
+ const size_t initial_size_;
};
// There should be no initialization fiasco there. We only set int value inside
@@ -180,7 +180,8 @@ TEST_P(ZoneDataUpdaterTest, zoneMinTTL) {
"example.org. 3600 IN SOA . . 0 0 0 0 1200",
zclass_, zname_),
ConstRRsetPtr());
- isc::util::InputBuffer b(updater_->getZoneData()->getMinTTLData(), sizeof(uint32_t));
+ isc::util::InputBuffer b(updater_->getZoneData()->getMinTTLData(),
+ sizeof(uint32_t));
EXPECT_EQ(RRTTL(1200), RRTTL(b));
}
More information about the bind10-changes
mailing list