diff --git a/src/hb-iter.hh b/src/hb-iter.hh index 5f94fde97..6672830c2 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -145,14 +145,6 @@ static const struct } hb_iter HB_UNUSED; -static const struct -{ - template - unsigned - operator () (T&& c) const - { return hb_iter (c).len (); } -} hb_len HB_UNUSED; - /* Mixin to fill in what the subclass doesn't provide. */ template diff --git a/src/test-iter.cc b/src/test-iter.cc index a735cae9f..7dfa0a917 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc @@ -158,8 +158,6 @@ main (int argc, char **argv) | hb_drain ; - hb_len (src); - t << 1; long vl; s >> vl;