diff --git a/include/fmt/core.h b/include/fmt/core.h index 639fe32a..9404cad7 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -2496,9 +2496,6 @@ FMT_CONSTEXPR auto parse_replacement_field(const Char* begin, const Char* end, template FMT_CONSTEXPR FMT_INLINE void parse_format_string( basic_string_view format_str, Handler&& handler) { - // Workaround a name-lookup bug in MSVC's modules implementation. - using detail::find; - auto begin = format_str.data(); auto end = begin + format_str.size(); if (end - begin < 32) { diff --git a/include/fmt/format.h b/include/fmt/format.h index d94da7cb..d370358a 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -4492,18 +4492,6 @@ FMT_BEGIN_DETAIL_NAMESPACE template void vformat_to(buffer& buf, basic_string_view fmt, typename vformat_args::type args, locale_ref loc) { - // workaround for msvc bug regarding name-lookup in module - // link names into function scope - using detail::arg_formatter; - using detail::buffer_appender; - using detail::custom_formatter; - using detail::default_arg_formatter; - using detail::get_arg; - using detail::locale_ref; - using detail::parse_format_specs; - using detail::to_unsigned; - using detail::type; - using detail::write; auto out = buffer_appender(buf); if (fmt.size() == 2 && equal2(fmt.data(), "{}")) { auto arg = args.get(0);