[ox/std] Fix sfmt constexpr problems

This commit is contained in:
Gary Talent 2024-04-09 23:47:18 -05:00
parent 3ff91af86b
commit 0c09c5306e

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>) {