diff --git a/deps/ox/src/ox/std/fmt.hpp b/deps/ox/src/ox/std/fmt.hpp index 544c1f47..f5e626b8 100644 --- a/deps/ox/src/ox/std/fmt.hpp +++ b/deps/ox/src/ox/std/fmt.hpp @@ -35,8 +35,9 @@ constexpr const char *toCString(const BString &s) noexcept { return s.c_str(); } -constexpr const char *toCString(const String &s) noexcept { - return s.c_str(); +template +constexpr const char *toCString(const BasicString &s) noexcept { + return s.c_str(); } #if __has_include()