From 10d8ec4cf6d962e1ff0d4bc2935df0707c312f19 Mon Sep 17 00:00:00 2001 From: Vincent TEMPLIER <vincent.templier@cea.fr> Date: Wed, 26 Jul 2023 12:29:34 +0000 Subject: [PATCH] Comment function that does not compile in Release mode so far --- aidge/_Core/include/utils/Parameter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aidge/_Core/include/utils/Parameter.hpp b/aidge/_Core/include/utils/Parameter.hpp index 98325c61..859d9cda 100644 --- a/aidge/_Core/include/utils/Parameter.hpp +++ b/aidge/_Core/include/utils/Parameter.hpp @@ -54,7 +54,7 @@ public: constexpr Parameterizable(const param<paramEnum>&&... params) { // Check number of params consistency static_assert(sizeof...(params) == std::tuple_size<std::tuple<T...>>::value, "wrong number of parameters in constructor"); - static_assert(size(EnumStrings<PARAM_ENUM>::data) == std::tuple_size<std::tuple<T...>>::value, "wrong number of parameters in enum string"); + // static_assert(size(EnumStrings<PARAM_ENUM>::data) == std::tuple_size<std::tuple<T...>>::value, "wrong number of parameters in enum string"); // Check no duplicates constexpr std::array<PARAM_ENUM, std::tuple_size<std::tuple<T...>>::value> pe = { paramEnum... }; -- GitLab