[iter] Tweak SFINAE again

Don't think we need hb_is_same().
This commit is contained in:
Behdad Esfahbod committed 2019-04-03 15:31:53 -07:00
1 parent f02ebc89ec
commit 2bd2750234
1 file changed
+1 -1
+1 -1
View File
@@ -212,7 +212,7 @@ struct hb_is_iterable
static hb_false_t test (...);
public:
enum { value = hb_is_same (decltype (test<T> (0)), hb_true_t) };
enum { value = decltype (test<T> (0))::value };
};
#define hb_is_iterable(Iterable) hb_is_iterable<Iterable>::value