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:
Rhys Perry 2024-05-13 14:18:09 +01:00 committed by Marge Bot
parent 869253b66c
commit 6ddd675168
1 changed files with 1 additions and 2 deletions

View File

@ -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*;