[meta] Fix gcc4 trait implementation

This commit is contained in:
Behdad Esfahbod committed 2022-05-19 15:43:15 -06:00
1 parent fb77f48ffd
commit 679b900e9b
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ template <> struct hb_int_max<unsigned long long> : hb_integral_constant<unsigne
#if __GNUG__ && __GNUC__ < 5
#define hb_is_trivially_copyable(T) __has_trivial_copy(T)
#define hb_is_trivially_copy_assignable(T) (__has_trivial_copy(T) && __has_trivial_assign(T))
#define hb_is_trivially_copy_assignable(T) __has_trivial_assign(T)
#define hb_is_trivially_constructible(T) __has_trivial_constructor(T)
#define hb_is_copy_constructible(T) __has_copy_constructor(T)
#define hb_is_trivially_copy_constructible(T) __has_trivial_copy_constructor(T)