diff --git a/deps/ox/src/ox/std/types.hpp b/deps/ox/src/ox/std/types.hpp index abaea5fe3..98f110e9e 100644 --- a/deps/ox/src/ox/std/types.hpp +++ b/deps/ox/src/ox/std/types.hpp @@ -61,9 +61,9 @@ namespace ox { * Aliases type T in size and alignment to allow allocating space for a T * without running the constructor. */ -template +template struct alignas(alignof(T)) AllocAlias { - char buff[sizeof(T)]; + char buff[sz]; };