Use Null() instead of declval(), hoping to fix some bots

This commit is contained in:
Behdad Esfahbod 2018-12-28 20:16:44 -05:00
parent 3d22900f62
commit cb27918d0a
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ template<typename T, typename B>
struct _hb_is_iterable
{ enum { value = false }; };
template<typename T>
struct _hb_is_iterable<T, hb_bool_tt<true || sizeof (hb_declval<T> ().iter ())> >
struct _hb_is_iterable<T, hb_bool_tt<true || sizeof (Null(T).iter ())> >
{ enum { value = true }; };
template<typename T>