Use this-> more consistently for begin and end.

This commit is contained in:
Marc Glisse 2010-04-23 08:09:14 +00:00
parent 125fa88349
commit 08b8848282
1 changed files with 4 additions and 4 deletions

View File

@ -149,12 +149,12 @@ public:
Self& operator++() Self& operator++()
{ {
if ( nested_it_ != end( this->base() ) ) { if ( nested_it_ != this->end( this->base() ) ) {
++nested_it_; ++nested_it_;
if ( nested_it_ == end( this->base() ) ) { if ( nested_it_ == this->end( this->base() ) ) {
Filter_base_iterator::operator++(); Filter_base_iterator::operator++();
if ( !this->is_end() ) { if ( !this->is_end() ) {
nested_it_ = begin( this->base() ); nested_it_ = this->begin( this->base() );
} }
} }
} }
@ -175,7 +175,7 @@ public:
nested_it_ = this->end(this->base()); nested_it_ = this->end(this->base());
--nested_it_; --nested_it_;
} else { } else {
if ( nested_it_ != begin( this->base() ) ) { if ( nested_it_ != this->begin( this->base() ) ) {
--nested_it_; --nested_it_;
} else { } else {
Filter_base_iterator::operator--(); Filter_base_iterator::operator--();