projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2fd05
)
[iter] Adjust hb_filter
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 7 May 2019 06:04:32 +0000
(23:04 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 7 May 2019 06:04:32 +0000
(23:04 -0700)
src/hb-iter.hh
patch
|
blob
|
history
diff --git
a/src/hb-iter.hh
b/src/hb-iter.hh
index
3240fc3
..
0095112
100644
(file)
--- a/
src/hb-iter.hh
+++ b/
src/hb-iter.hh
@@
-374,7
+374,7
@@
struct hb_filter_iter_t :
static constexpr bool is_sorted_iterator = Iter::is_sorted_iterator;
__item_t__ __item__ () const { return *it; }
bool __more__ () const { return bool (it); }
- void __next__ () { do ++it; while (it && !
p (f (
*it))); }
+ void __next__ () { do ++it; while (it && !
hb_has (p, hb_get (f,
*it))); }
void __prev__ () { --it; }
bool operator != (const hb_filter_iter_t& o) const
{ return it != o.it || p != o.p || f != o.f; }