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 485fa78362
commit 0135887c4c
1 changed files with 5 additions and 1 deletions

View File

@ -1189,7 +1189,11 @@ struct AssertBindArgsValidity<std::index_sequence<Ns...>,
TypeList<Args...>,
TypeList<Unwrapped...>,
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;
};