diff --git a/deps/ox/src/ox/std/types.hpp b/deps/ox/src/ox/std/types.hpp index 4605d5f0..2af74834 100644 --- a/deps/ox/src/ox/std/types.hpp +++ b/deps/ox/src/ox/std/types.hpp @@ -8,6 +8,13 @@ #pragma once +namespace std { + +using nullptr_t = decltype(nullptr); +using size_t = decltype(alignof(int)); + +} + #if __has_include() #include @@ -114,13 +121,6 @@ using Unsigned = Uint; } -namespace std { - -using nullptr_t = decltype(nullptr); -using size_t = decltype(alignof(int)); - -} - static_assert(sizeof(int8_t) == 1, "int8_t is wrong size"); static_assert(sizeof(int16_t) == 2, "int16_t is wrong size"); static_assert(sizeof(int32_t) == 4, "int32_t is wrong size");