mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Compatibility with fmtlib 10.1.x
This commit is contained in:
parent
ff9d180154
commit
757d458161
8 changed files with 39 additions and 38 deletions
|
@ -232,19 +232,3 @@ private:
|
|||
const TType m_min_value;
|
||||
const TType m_max_value;
|
||||
};
|
||||
|
||||
template <typename TType>
|
||||
struct fmt::formatter< ConfigValue<TType> > : formatter<TType> {
|
||||
template <typename FormatContext>
|
||||
auto format(const ConfigValue<TType>& v, FormatContext& ctx) {
|
||||
return formatter<TType>::format(v.GetValue(), ctx);
|
||||
}
|
||||
};
|
||||
|
||||
template <typename TType>
|
||||
struct fmt::formatter< ConfigValueBounds<TType> > : formatter<TType> {
|
||||
template <typename FormatContext>
|
||||
auto format(const ConfigValueBounds<TType>& v, FormatContext& ctx) {
|
||||
return formatter<TType>::format(v.GetValue(), ctx);
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue