Make wchar_t overloads usable in module

Bring ''detail::find()' into scope.
This commit is contained in:
Daniela Engert 2021-04-28 11:04:00 +02:00 committed by Victor Zverovich
parent 355be4b13f
commit 342973b349

View File

@ -2998,6 +2998,9 @@ FMT_CONSTEXPR const Char* parse_replacement_field(const Char* begin,
template <bool IS_CONSTEXPR, typename Char, typename Handler>
FMT_CONSTEXPR_DECL FMT_INLINE void parse_format_string(
basic_string_view<Char> format_str, Handler&& handler) {
// this is most likely a name-lookup defect in msvc's modules implementation
using detail::find;
auto begin = format_str.data();
auto end = begin + format_str.size();
if (end - begin < 32) {