diff --git a/deps/ox/src/ox/std/fmt.hpp b/deps/ox/src/ox/std/fmt.hpp index 90010f36..2d236964 100644 --- a/deps/ox/src/ox/std/fmt.hpp +++ b/deps/ox/src/ox/std/fmt.hpp @@ -42,8 +42,7 @@ constexpr const char *toCString(const BasicString &s) noexcept { } #if __has_include() -inline -const char *toCString(const std::string &s) noexcept { +constexpr const char *toCString(const std::string &s) noexcept { return s.c_str(); } #endif