From 0c09c5306ed968220db4002605fbc8f07f2021f1 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 9 Apr 2024 23:47:18 -0500 Subject: [PATCH] [ox/std] Fix sfmt constexpr problems --- deps/ox/src/ox/std/fmt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/fmt.hpp b/deps/ox/src/ox/std/fmt.hpp index a3717045..f1621bd1 100644 --- a/deps/ox/src/ox/std/fmt.hpp +++ b/deps/ox/src/ox/std/fmt.hpp @@ -77,7 +77,7 @@ class FmtArg { char dataStr[10] = {}; template - static StringView sv(const T &v, char *dataStr) noexcept { + constexpr StringView sv(const T &v, char *dataStr) noexcept { if constexpr(is_bool_v) { return v ? "true" : "false"; } else if constexpr(is_integer_v) {