[ox/std] Change fmt toCString to take BasicString<sz> instead of String
This commit is contained in:
parent
0099129a19
commit
77c7a3ab22
5
deps/ox/src/ox/std/fmt.hpp
vendored
5
deps/ox/src/ox/std/fmt.hpp
vendored
@ -35,8 +35,9 @@ constexpr const char *toCString(const BString<size> &s) noexcept {
|
||||
return s.c_str();
|
||||
}
|
||||
|
||||
constexpr const char *toCString(const String &s) noexcept {
|
||||
return s.c_str();
|
||||
template<std::size_t size>
|
||||
constexpr const char *toCString(const BasicString<size> &s) noexcept {
|
||||
return s.c_str();
|
||||
}
|
||||
|
||||
#if __has_include(<string>)
|
||||
|
Loading…
Reference in New Issue
Block a user