mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +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;
|
||||
}
|
||||
|
||||
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 {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto operator()(...) -> bool { return false; }
|
||||
};
|
||||
|
||||
template <typename Char, typename OutputIt, typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user