projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02ebc8
)
[iter] Tweak SFINAE again
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 3 Apr 2019 22:31:53 +0000
(15:31 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 3 Apr 2019 22:31:53 +0000
(15:31 -0700)
Don't think we need hb_is_same().
src/hb-iter.hh
patch
|
blob
|
history
diff --git
a/src/hb-iter.hh
b/src/hb-iter.hh
index
afb0382
..
6f8e7ec
100644
(file)
--- 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<T> (0)), hb_true_t)
};
+ enum { value =
decltype (test<T> (0))::value
};
};
#define hb_is_iterable(Iterable) hb_is_iterable<Iterable>::value