BIND 10 trac2108_3, updated. 372c18dac614fd8cfbe0e55bcf3aaf1aa6749ef4 [2108] Add underscore to member variable

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Sep 5 03:59:35 UTC 2012


The branch, trac2108_3 has been updated
       via  372c18dac614fd8cfbe0e55bcf3aaf1aa6749ef4 (commit)
      from  0aa28c0f46b3882585fbb739a322053fa14f68b6 (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 372c18dac614fd8cfbe0e55bcf3aaf1aa6749ef4
Author: Mukund Sivaraman <muks at isc.org>
Date:   Wed Sep 5 09:29:11 2012 +0530

    [2108] Add underscore to member variable

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/memory/memory_client.cc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/memory_client.cc b/src/lib/datasrc/memory/memory_client.cc
index 0d1722f..ea4eba3 100644
--- a/src/lib/datasrc/memory/memory_client.cc
+++ b/src/lib/datasrc/memory/memory_client.cc
@@ -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



More information about the bind10-changes mailing list