diff --git a/src/hb-iter.hh b/src/hb-iter.hh index afb038272f5c4074c995f49a72b99e4cd0bf441a..6f8e7ece14fbdfb75f03837e40a467cc90f4ec0e 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -212,7 +212,7 @@ struct hb_is_iterable static hb_false_t test (...); public: - enum { value = hb_is_same (decltype (test (0)), hb_true_t) }; + enum { value = decltype (test (0))::value }; }; #define hb_is_iterable(Iterable) hb_is_iterable::value