diff --git a/src/tint/utils/vector.h b/src/tint/utils/vector.h index 83e1c12197..cca2409f7b 100644 --- a/src/tint/utils/vector.h +++ b/src/tint/utils/vector.h @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -592,7 +591,7 @@ class Vector { /// The internal structure for the vector with a small array. struct ImplWithSmallArray { - std::array small_arr; + TStorage small_arr[N]; Slice slice = {small_arr[0].Get(), 0, N}; /// Allocates a new vector of `T` either from #small_arr, or from the heap, then assigns the