[iter] Bug fix

This commit is contained in:
Behdad Esfahbod 2019-05-09 11:10:31 -07:00
parent 5d263556b9
commit 64f0899a9f
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ struct hb_counter_iter_t :
void __forward__ (unsigned n) { v += n * step; }
void __prev__ () { v -= step; }
void __rewind__ (unsigned n) { v -= n * step; }
hb_counter_iter_t __end__ () const { hb_counter_iter_t (end_, end_, step); }
hb_counter_iter_t __end__ () const { return hb_counter_iter_t (end_, end_, step); }
bool operator != (const hb_counter_iter_t& o) const
{ return v != o.v || end_ != o.end_ || step != o.step; }