mirror of https://gitlab.freedesktop.org/mesa/mesa
aco/util: improve small_vec assertion
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29071>
This commit is contained in:
parent
869253b66c
commit
6ddd675168
|
@ -1019,8 +1019,7 @@ using bitarray8 = bitfield_array<uint8_t, 0, 8, uint8_t>;
|
|||
*/
|
||||
template <typename T, uint32_t Size> class small_vec {
|
||||
public:
|
||||
static_assert(std::is_trivially_copyable<T>::value);
|
||||
static_assert(std::is_trivially_destructible<T>::value);
|
||||
static_assert(std::is_trivial<T>::value);
|
||||
|
||||
using value_type = T;
|
||||
using pointer = value_type*;
|
||||
|
|
Loading…
Reference in New Issue