Fight with windows build
This commit is contained in:
parent
7536fe6a4d
commit
4556ea12de
@ -686,10 +686,10 @@ struct formatter<T, Char,
|
||||
}
|
||||
|
||||
template <typename FormatContext>
|
||||
auto format(const T& t, FormatContext& ctx) const ->
|
||||
auto format(T& t, FormatContext& ctx) const ->
|
||||
typename FormatContext::iterator {
|
||||
struct getter : T {
|
||||
static auto get(const T& t) -> decltype(t.*(&getter::c)) {
|
||||
static auto get(T& t) -> typename T::container_type& {
|
||||
return t.*(&getter::c); // Access c through the derived class.
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user