[ox/std] Make release version of oxAssert constexpr
This commit is contained in:
parent
44df6df75d
commit
60aa172d98
4
deps/ox/src/ox/std/def.hpp
vendored
4
deps/ox/src/ox/std/def.hpp
vendored
@ -71,8 +71,8 @@
|
|||||||
namespace ox {
|
namespace ox {
|
||||||
struct [[nodiscard]] Error;
|
struct [[nodiscard]] Error;
|
||||||
}
|
}
|
||||||
inline void oxAssert(bool, const char*) {}
|
constexpr void oxAssert(bool, const char*) noexcept {}
|
||||||
inline void oxAssert(const ox::Error&, const char*) {}
|
constexpr void oxAssert(const ox::Error&, const char*) noexcept {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user