From 522e2c12abe6e0d721640eb6cba9fed30c588983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Lazari=C4=87?= Date: Fri, 25 Sep 2026 15:56:18 +0200 Subject: [PATCH] Remove `fmt::path` (#4953) The class was a temporary experiment, and is just emitting warnings now. --- include/fmt/std.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/fmt/std.h b/include/fmt/std.h index 8a9a94d3..ca26905c 100644 --- a/include/fmt/std.h +++ b/include/fmt/std.h @@ -347,21 +347,6 @@ template struct formatter { } }; -class path : public std::filesystem::path { - public: - auto display_string() const -> std::string { - const std::filesystem::path& base = *this; - return fmt::format(FMT_STRING("{}"), base); - } - auto system_string() const -> std::string { return string(); } - - auto generic_display_string() const -> std::string { - const std::filesystem::path& base = *this; - return fmt::format(FMT_STRING("{:g}"), base); - } - auto generic_system_string() const -> std::string { return generic_string(); } -}; - #endif // FMT_CPP_LIB_FILESYSTEM template