[pool] Rewrite a loop as dagger

pull/3885/head
Behdad Esfahbod 2 years ago
parent 3ff8abf272
commit 281b4705b4
  1. 5
      src/hb-pool.hh

@ -39,8 +39,9 @@ struct hb_pool_t
{
next = nullptr;
for (chunk_t *_ : chunks)
hb_free (_);
+ hb_iter (chunks)
| hb_apply (hb_free)
;
}
T* alloc ()

Loading…
Cancel
Save