[iter] Bug fix

This commit is contained in:
Behdad Esfahbod committed 2019-05-09 11:31:13 -07:00
1 parent 5d263556b9
commit 64f0899a9f
1 file changed
+1 -1
+1 -1
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; }