diff --git a/include/fmt/format.h b/include/fmt/format.h index c4329ec95b2a..5b047a6700b3 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2992,6 +2992,9 @@ FMT_CONSTEXPR const Char* parse_replacement_field(const Char* begin, template FMT_CONSTEXPR_DECL FMT_INLINE void parse_format_string( basic_string_view 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) {