mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-29 21:32:49 +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));
|
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
|
} // namespace internal
|
||||||
|
|
||||||
#if FMT_USE_CONSTEXPR
|
#if FMT_USE_CONSTEXPR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user