Fix type conversion warning with GCC 10 (fixes issue #3324)
This commit is contained in:
parent
485fa78362
commit
0135887c4c
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue