From c6f372bb38e356bea0c22ed69c9e28fd06681910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=BCgler?= Date: Wed, 6 Jul 2022 19:55:19 +0200 Subject: [PATCH] #2968: Eliminate preprocessor condition that enables the formatter specialization for std::filesystem::path --- include/fmt/std.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/fmt/std.h b/include/fmt/std.h index 227f4841..41d2b283 100644 --- a/include/fmt/std.h +++ b/include/fmt/std.h @@ -57,10 +57,6 @@ inline void write_escaped_path( } // namespace detail -#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1920 -// For MSVC 2017 and earlier using the partial specialization -// would cause an ambiguity error, therefore we provide it only -// conditionally. template struct formatter : formatter> { @@ -73,7 +69,6 @@ struct formatter basic_string_view(quoted.data(), quoted.size()), ctx); } }; -#endif FMT_END_NAMESPACE #endif