[ox/std] Change fmt toCString to take BasicString<sz> instead of String

This commit is contained in:
Gary Talent 2021-05-30 15:54:49 -05:00
parent 0099129a19
commit 77c7a3ab22

View File

@ -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>)