mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Fix warning: a class type that is not trivially copyable passed through ellipsis (EDG frontend)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
3160847ebd
commit
81ebe70b9b
@ -2117,12 +2117,10 @@ template <typename Char = char> struct loc_writer {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, FMT_ENABLE_IF(is_floating_point<T>::value)>
|
template <typename T, FMT_ENABLE_IF(!is_integer<T>::value)>
|
||||||
auto operator()(T) -> bool {
|
auto operator()(T) -> bool {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto operator()(...) -> bool { return false; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Char, typename OutputIt, typename T>
|
template <typename Char, typename OutputIt, typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user