config: Fix child/const_child_iterator implementations of operator>
These were identical to operator<, which is clearly not intended. This wouldn't trigger bugs in practice because they are currently unused (tested by compiling with the definition removed).
This commit is contained in:
parent
c3c0c9c2fd
commit
44312adfcb
1 changed files with 2 additions and 2 deletions
|
@ -143,7 +143,7 @@ public:
|
|||
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_; }
|
||||
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_; }
|
||||
friend bool operator>(const this_type& a, const this_type& b) { return a.i_ > b.i_; }
|
||||
|
||||
this_type& operator+=(Itor::difference_type n) { i_ += n; return *this; }
|
||||
this_type& operator-=(Itor::difference_type n) { i_ -= n; return *this; }
|
||||
|
@ -184,7 +184,7 @@ public:
|
|||
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_; }
|
||||
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_; }
|
||||
friend bool operator>(const this_type& a, const this_type& b) { return a.i_ > b.i_; }
|
||||
|
||||
this_type& operator+=(Itor::difference_type n) { i_ += n; return *this; }
|
||||
this_type& operator-=(Itor::difference_type n) { i_ -= n; return *this; }
|
||||
|
|
Loading…
Add table
Reference in a new issue