[pool] Rewrite a loop as dagger
This commit is contained in:
parent
3ff8abf272
commit
281b4705b4
|
@ -39,8 +39,9 @@ struct hb_pool_t
|
||||||
{
|
{
|
||||||
next = nullptr;
|
next = nullptr;
|
||||||
|
|
||||||
for (chunk_t *_ : chunks)
|
+ hb_iter (chunks)
|
||||||
hb_free (_);
|
| hb_apply (hb_free)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
T* alloc ()
|
T* alloc ()
|
||||||
|
|
Loading…
Reference in New Issue