Fix type conversion warning with GCC 10 (fixes issue #3324)

This commit is contained in:
Marshall Greenblatt 2022-04-27 15:56:31 -04:00
parent b62dd2b6ee
commit 7702d96b33

View File

@ -1189,7 +1189,11 @@ struct AssertBindArgsValidity<std::index_sequence<Ns...>,
TypeList<Args...>, TypeList<Args...>,
TypeList<Unwrapped...>, TypeList<Unwrapped...>,
TypeList<Params...>> TypeList<Params...>>
: AssertConstructible<Ns, Args, std::decay_t<Args>, Unwrapped, Params>... { : AssertConstructible<static_cast<int>(Ns),
Args,
std::decay_t<Args>,
Unwrapped,
Params>... {
static constexpr bool ok = true; static constexpr bool ok = true;
}; };