diff --git a/deps/ox/src/ox/std/memory.hpp b/deps/ox/src/ox/std/memory.hpp index a19c46b4..9d08eb3f 100644 --- a/deps/ox/src/ox/std/memory.hpp +++ b/deps/ox/src/ox/std/memory.hpp @@ -51,12 +51,12 @@ namespace ox { */ template -void safeDelete(T *val) requires(sizeof(T) >= 1) { +constexpr void safeDelete(T *val) requires(sizeof(T) >= 1) { delete val; } template -void safeDeleteArray(T *val) requires(sizeof(T) >= 1) { +constexpr void safeDeleteArray(T *val) requires(sizeof(T) >= 1) { delete[] val; }