Browse Source

[2836] style fixes: constify, folded a long line.

JINMEI Tatuya 12 years ago
parent
commit
427bc05eee
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc

+ 3 - 2
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));
 }