diff --git a/deps/ox/src/ox/std/fmt.hpp b/deps/ox/src/ox/std/fmt.hpp index db91dcfa..f270642e 100644 --- a/deps/ox/src/ox/std/fmt.hpp +++ b/deps/ox/src/ox/std/fmt.hpp @@ -37,18 +37,12 @@ constexpr const char *stringify(const ox::String &s) noexcept { return s.c_str(); } -#if __has_include() +#if __has_include() && __cplusplus >= 202002L constexpr const char *stringify(const std::string &s) noexcept { return s.c_str(); } #endif -#if __has_include() -constexpr const char *stringify(const QString &s) noexcept { - return s.c_str(); -} -#endif - class FmtArg { private: