[ox/std] Enable unsafe buffer warnings

This commit is contained in:
2024-11-26 21:59:26 -06:00
parent e44fa288fd
commit 9b8a8c4e46
24 changed files with 119 additions and 202 deletions

View File

@@ -20,6 +20,8 @@
#include "types.hpp"
#include "utility.hpp"
OX_CLANG_NOWARN_BEGIN(-Wunsafe-buffer-usage)
namespace ox {
namespace detail {
@@ -709,3 +711,5 @@ constexpr auto alignOf(const Vector<T>&) noexcept {
}
}
OX_CLANG_NOWARN_END