[meta] Fix gcc4 trait implementation

This commit is contained in:
Behdad Esfahbod 2022-05-19 15:27:32 -06:00
parent fb77f48ffd
commit 679b900e9b
1 changed files with 1 additions and 1 deletions

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)