mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-10 22:40:08 +00:00
Remove unused preparator
This commit is contained in:
parent
643aa4c8c4
commit
f8b59251c4
@ -506,18 +506,6 @@ template <typename Format, typename... Args> struct preparator {
|
||||
return prepared_format_type(std::move(format));
|
||||
}
|
||||
};
|
||||
|
||||
template <typename PassedFormat, typename PreparedFormatFormat,
|
||||
typename PartsContainer, typename... Args>
|
||||
struct preparator<PassedFormat, prepared_format<PreparedFormatFormat,
|
||||
PartsContainer, Args...>> {
|
||||
using prepared_format_type =
|
||||
prepared_format<PreparedFormatFormat, PartsContainer, Args...>;
|
||||
|
||||
static auto prepare(PassedFormat format) -> prepared_format_type {
|
||||
return prepared_format_type(std::move(format));
|
||||
}
|
||||
};
|
||||
} // namespace internal
|
||||
|
||||
#if FMT_USE_CONSTEXPR
|
||||
|
Loading…
Reference in New Issue
Block a user