commit | c93eeba9b21cb8f8ba64ebaf284bf9c8a8544886 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed May 08 10:56:09 2019 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed May 08 10:56:09 2019 -0700 |
tree | 58f29c43804deb8b21a2ef6994b382ca9ac088cf | |
parent | 4c9e0c37a34e8355d752af39507b310f473bffa5 [diff] [blame] |
[iter] Accept pointer in hb_map()
diff --git a/src/test-iter.cc b/src/test-iter.cc index f29166f..1e721ae 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc
@@ -177,9 +177,14 @@ hb_array_t<hb_vector_t<int>> pa; pa->as_array (); + hb_map_t m; + + hb_iter (src) - | hb_map (hb_identity) + | hb_map (m) + | hb_map (&m) | hb_filter () + | hb_filter (st) + | hb_filter (&st) | hb_filter (hb_bool) | hb_filter (hb_bool, hb_identity) | hb_sink (st)