[ox/std] Fix sfmt constexpr problems

(synced from 0c09c5306e)
This commit is contained in:
2024-04-09 23:47:18 -05:00
parent 81a4ebcc66
commit 8dc98c1f75
+1 -1
View File
@@ -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>) {