]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2108] Add underscore to member variable
authorMukund Sivaraman <muks@isc.org>
Wed, 5 Sep 2012 03:59:11 +0000 (09:29 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 5 Sep 2012 03:59:11 +0000 (09:29 +0530)
src/lib/datasrc/memory/memory_client.cc

index 0d1722f17e964f2c6641793f4eaad2e930e589b8..ea4eba318fb93d4904d682c0fbb221316e8ee7b6 100644 (file)
@@ -89,7 +89,7 @@ private:
 public:
     InMemoryClientImpl(RRClass rrclass) :
         rrclass_(rrclass),
-        zone_count(0),
+        zone_count_(0),
         zone_table_(ZoneTable::create(local_mem_sgmt_, rrclass)),
         file_name_tree_(FileNameTree::create(local_mem_sgmt_, false))
     {}
@@ -108,7 +108,7 @@ public:
     // specific derived segment class).
     util::MemorySegmentLocal local_mem_sgmt_;
     RRClass rrclass_;
-    unsigned int zone_count;
+    unsigned int zone_count_;
     ZoneTable* zone_table_;
     FileNameTree* file_name_tree_;
 
@@ -568,7 +568,7 @@ InMemoryClient::InMemoryClientImpl::load(
     LOG_DEBUG(logger, DBG_TRACE_BASIC, DATASRC_MEM_ADD_ZONE).
         arg(zone_name).arg(rrclass_.toText());
 
-    ++zone_count;
+    ++zone_count_;
 
     // Set the filename in file_name_tree_ now, so that getFileName()
     // can use it (during zone reloading).
@@ -659,7 +659,7 @@ InMemoryClient::getClass() const {
 
 unsigned int
 InMemoryClient::getZoneCount() const {
-    return (impl_->zone_count);
+    return (impl_->zone_count_);
 }
 
 isc::datasrc::memory::ZoneTable::FindResult