mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 09:09:13 +01:00
[iter] Tweak SFINAE again
Don't think we need hb_is_same().
This commit is contained in:
1 parent
f02ebc89ec
commit
2bd2750234
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user