diff --git a/src/hb-iter.hh b/src/hb-iter.hh index b29e8787b..dc28678eb 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -175,10 +175,7 @@ struct hb_is_iterable { enum { value = _hb_is_iterable::value }; } /* hb_is_iterator() */ -/* The following SFINAE fails to match template parameters to hb_iter_t<>. - * As such, just check for member is_iter being there. */ -template char -_hb_is_iterator (...) {}; +template char _hb_is_iterator (...) {}; template int _hb_is_iterator (hb_iter_t *) {}; template int _hb_is_iterator (hb_iter_t *) {}; template int _hb_is_iterator (hb_iter_t *) {};