[ox/std] Fix sfmt constexpr problems
This commit is contained in:
parent
05ce318a85
commit
70bf26b538
2
deps/nostalgia/deps/ox/src/ox/std/fmt.hpp
vendored
2
deps/nostalgia/deps/ox/src/ox/std/fmt.hpp
vendored
@ -77,7 +77,7 @@ class FmtArg {
|
||||
char dataStr[10] = {};
|
||||
|
||||
template<typename T>
|
||||
static StringView sv(const T &v, char *dataStr) noexcept {
|
||||
constexpr StringView sv(const T &v, char *dataStr) noexcept {
|
||||
if constexpr(is_bool_v<T>) {
|
||||
return v ? "true" : "false";
|
||||
} else if constexpr(is_integer_v<T>) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user