[ox/std] Fix sfmt constexpr problems
This commit is contained in:
parent
3ff91af86b
commit
0c09c5306e
2
deps/ox/src/ox/std/fmt.hpp
vendored
2
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…
Reference in New Issue
Block a user