mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
[meta] Remove non-existing gcc4 trait implementation
This commit is contained in:
1 parent
679b900e9b
commit
c19f116952
2 files changed
+1
-3
No files matched your search
@@ -192,14 +192,12 @@ template <> struct hb_int_max<unsigned long long> : hb_integral_constant<unsigne
|
||||
#define hb_is_trivially_copyable(T) __has_trivial_copy(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)
|
||||
#define hb_is_trivially_destructible(T) __has_trivial_destructor(T)
|
||||
#else
|
||||
#define hb_is_trivially_copyable(T) std::is_trivially_copyable<T>::value
|
||||
#define hb_is_trivially_copy_assignable(T) std::is_trivially_copy_assignable<T>::value
|
||||
#define hb_is_trivially_constructible(T) std::is_trivially_constructible<T>::value
|
||||
#define hb_is_copy_constructible(T) std::is_copy_constructible<T>::value
|
||||
#define hb_is_trivially_copy_constructible(T) std::is_trivially_copy_constructible<T>::value
|
||||
#define hb_is_trivially_destructible(T) std::is_trivially_destructible<T>::value
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -264,7 +264,7 @@ struct hb_vector_t : std::conditional<sorted, hb_vector_t<Type, false>, hb_empty
|
||||
}
|
||||
template <typename T = Type,
|
||||
hb_enable_if (!hb_is_trivially_copyable (T) &&
|
||||
hb_is_copy_constructible (T))>
|
||||
std::is_copy_constructible<T>::value)>
|
||||
void
|
||||
copy_vector (const hb_vector_t &other)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user