Config: fixed two cases of operator!= operating the same as operator==
This commit is contained in:
parent
ccb5d8f795
commit
f45cd3eeb8
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ public:
|
|||
bool operator==(const child_iterator &i) const { return i_ == i.i_; }
|
||||
bool operator!=(const child_iterator &i) const { return i_ != i.i_; }
|
||||
bool operator==(const const_child_iterator &i) const { return i == *this; }
|
||||
bool operator!=(const const_child_iterator &i) const { return i == *this; }
|
||||
bool operator!=(const const_child_iterator &i) const { return i != *this; }
|
||||
|
||||
friend bool operator<(const this_type& a, const this_type& b) { return a.i_ < b.i_; }
|
||||
friend bool operator<=(const this_type& a, const this_type& b) { return a.i_ <= b.i_; }
|
||||
|
@ -278,7 +278,7 @@ public:
|
|||
bool operator==(const attribute_iterator &i) const { return i_ == i.i_; }
|
||||
bool operator!=(const attribute_iterator &i) const { return i_ != i.i_; }
|
||||
bool operator==(const const_attribute_iterator &i) const { return i == *this; }
|
||||
bool operator!=(const const_attribute_iterator &i) const { return i == *this; }
|
||||
bool operator!=(const const_attribute_iterator &i) const { return i != *this; }
|
||||
|
||||
private:
|
||||
friend struct config::const_attribute_iterator;
|
||||
|
|
Loading…
Add table
Reference in a new issue