From 446d173ad3d47893438b2a8567f00ee40552f1d4 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Sat, 9 Jul 2016 14:57:30 +0100 Subject: [PATCH] Fix broken static_assert. --- src/backends/redis/script.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/redis/script.hpp b/src/backends/redis/script.hpp index 033469c..088e9e0 100644 --- a/src/backends/redis/script.hpp +++ b/src/backends/redis/script.hpp @@ -64,8 +64,8 @@ namespace redis { void Script::run_with_indices (Batch& parBatch, const std::tuple& parKeys, const std::tuple& parValues, dinhelp::bt::index_seq, dinhelp::bt::index_seq) { 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::value, "Wrong key count"); - static_assert(sizeof...(Values) == std::tuple_size::value, "Wrong value count"); + static_assert(sizeof...(Keys) == std::tuple_size>::value, "Wrong key count"); + static_assert(sizeof...(Values) == std::tuple_size>::value, "Wrong value count"); assert(not m_sha1.empty()); assert(m_manager);