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:
Vladislav Shchapov 2022-11-19 16:07:05 +05:00 committed by Victor Zverovich
parent 3160847ebd
commit 81ebe70b9b

View File

@ -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>