[meta] Fix gcc4 trait implementation
This commit is contained in:
parent
fb77f48ffd
commit
679b900e9b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue