BIND 10 trac2906, updated. 5c82cc617522160d1c3d248aa215d84031b2de9c [2906] removed the 'begin' iterator used within cache zonetable iterator.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 1 17:19:14 UTC 2013
The branch, trac2906 has been updated
via 5c82cc617522160d1c3d248aa215d84031b2de9c (commit)
from 75235e6f7c1b9b646d68c6d6238b2c38df9814d8 (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 5c82cc617522160d1c3d248aa215d84031b2de9c
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed May 1 10:18:42 2013 -0700
[2906] removed the 'begin' iterator used within cache zonetable iterator.
we simply didn't need it.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/zone_table_accessor_cache.cc | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/zone_table_accessor_cache.cc b/src/lib/datasrc/zone_table_accessor_cache.cc
index 70c892c..b1d26ac 100644
--- a/src/lib/datasrc/zone_table_accessor_cache.cc
+++ b/src/lib/datasrc/zone_table_accessor_cache.cc
@@ -27,9 +27,8 @@ namespace {
class ZoneTableIteratorCache : public ZoneTableIterator {
public:
ZoneTableIteratorCache(const CacheConfig& config) :
- it_begin_(config.begin()),
- it_end_(config.end()),
- it_(it_begin_)
+ it_(config.begin()),
+ it_end_(config.end())
{}
virtual void nextImpl() {
@@ -45,9 +44,8 @@ public:
}
private:
- CacheConfig::ConstZoneIterator const it_begin_;
- CacheConfig::ConstZoneIterator const it_end_;
CacheConfig::ConstZoneIterator it_;
+ CacheConfig::ConstZoneIterator const it_end_;
};
}
More information about the bind10-changes
mailing list