Commit 5c82cc61 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2906] removed the 'begin' iterator used within cache zonetable iterator.

we simply didn't need it.
parent 75235e6f
......@@ -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_;
};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment