I don't think 1 - <iter> makes sense, so let's remove this
This commit is contained in:
parent
1bd6ea51ac
commit
9ec91cd660
|
@ -1061,11 +1061,6 @@ public:
|
|||
res.idx -= diff;
|
||||
return res;
|
||||
}
|
||||
friend self_t operator-(difference_type diff, const self_t& lhs) {
|
||||
auto res = lhs;
|
||||
res.idx -= diff;
|
||||
return res;
|
||||
}
|
||||
friend difference_type operator-(const self_t& lhs, const self_t& rhs) {
|
||||
ASSERT(lhs.vec == rhs.vec);
|
||||
return lhs.idx - rhs.idx;
|
||||
|
|
Loading…
Reference in New Issue