Remove fmt::path (#4953)

The class was a temporary experiment,
and is just emitting warnings now.
This commit is contained in:
Ivan Lazarić 2026-09-25 15:56:18 +02:00 committed by GitHub
parent 6d71f74624
commit 522e2c12ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -347,21 +347,6 @@ template <typename Char> struct formatter<std::filesystem::path, Char> {
}
};
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 <size_t N, typename Char>