I don't think 1 - <iter> makes sense, so let's remove this

This commit is contained in:
Andrew Noyes 2020-07-30 20:02:44 +00:00
parent 1bd6ea51ac
commit 9ec91cd660
1 changed files with 0 additions and 5 deletions

View File

@ -1061,11 +1061,6 @@ public:
res.idx -= diff; res.idx -= diff;
return res; 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) { friend difference_type operator-(const self_t& lhs, const self_t& rhs) {
ASSERT(lhs.vec == rhs.vec); ASSERT(lhs.vec == rhs.vec);
return lhs.idx - rhs.idx; return lhs.idx - rhs.idx;