[ox/std] Enable unsafe buffer warnings
This commit is contained in:
4
deps/ox/src/ox/std/vector.hpp
vendored
4
deps/ox/src/ox/std/vector.hpp
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user