]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2836] style fixes: constify, folded a long line.
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 8 May 2013 21:58:18 +0000 (14:58 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 8 May 2013 21:58:18 +0000 (14:58 -0700)
src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc

index cde9e27ec7ccc6566330c1cdc1ed1e6787f60da2..752df21609bf295dc2214b0c84b065d6898ec8e2 100644 (file)
@@ -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));
 }