mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-02-17 11:45:50 +00:00
Fix broken static_assert.
This commit is contained in:
parent
75335cd390
commit
446d173ad3
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ namespace redis {
|
|||
void Script::run_with_indices (Batch& parBatch, const std::tuple<Keys...>& parKeys, const std::tuple<Values...>& parValues, dinhelp::bt::index_seq<KeyIndices...>, dinhelp::bt::index_seq<ValueIndices...>) {
|
||||
static_assert(sizeof...(Keys) == sizeof...(KeyIndices), "Wrong index count");
|
||||
static_assert(sizeof...(Values) == sizeof...(ValueIndices), "Wrong value count");
|
||||
static_assert(sizeof...(Keys) == std::tuple_size<decltype(parKeys)>::value, "Wrong key count");
|
||||
static_assert(sizeof...(Values) == std::tuple_size<decltype(parValues)>::value, "Wrong value count");
|
||||
static_assert(sizeof...(Keys) == std::tuple_size<std::tuple<Keys...>>::value, "Wrong key count");
|
||||
static_assert(sizeof...(Values) == std::tuple_size<std::tuple<Values...>>::value, "Wrong value count");
|
||||
|
||||
assert(not m_sha1.empty());
|
||||
assert(m_manager);
|
||||
|
|
Loading…
Add table
Reference in a new issue