[iter] Remove friend operator +, hoping to fix some bots
This commit is contained in:
parent
cb27918d0a
commit
037f735efd
|
@ -76,7 +76,6 @@ struct hb_iter_t
|
|||
iter_t& operator -= (unsigned count) { thiz()->__rewind__ (count); return *thiz(); }
|
||||
iter_t& operator -- () { thiz()->__prev__ (); return *thiz(); }
|
||||
iter_t operator + (unsigned count) const { iter_t c (*thiz()); c += count; return c; }
|
||||
friend iter_t operator + (unsigned count, const iter_t &it) { return it + count; }
|
||||
iter_t operator ++ (int) { iter_t c (*thiz()); ++*thiz(); return c; }
|
||||
iter_t operator - (unsigned count) const { iter_t c (*thiz()); c -= count; return c; }
|
||||
iter_t operator -- (int) { iter_t c (*thiz()); --*thiz(); return c; }
|
||||
|
|
|
@ -76,7 +76,6 @@ test_iterator (Iterator it)
|
|||
|
||||
it += it.len () + 10;
|
||||
it = it + 10;
|
||||
it = 10 + it;
|
||||
|
||||
assert (*it == it[0]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue