From 4d18d4d103d185ecb30a6c4eca5cd4e02d4e4e72 Mon Sep 17 00:00:00 2001 From: weefuzzy Date: Tue, 3 May 2022 15:14:00 +0100 Subject: [PATCH] Wrapper: Make MSVC happy about constexpr lambda capture --- include/wrapper/Messaging.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wrapper/Messaging.hpp b/include/wrapper/Messaging.hpp index dda88e2..08c04f6 100644 --- a/include/wrapper/Messaging.hpp +++ b/include/wrapper/Messaging.hpp @@ -76,7 +76,7 @@ struct FluidSCMessaging{ auto& args = msg->args; - constexpr size_t expectedArgCount = std::tuple_size::value; + static constexpr size_t expectedArgCount = std::tuple_size::value; /// TODO this squawks if we have a completion message, so maybe we can check if extra arg is a 'b' and squawk if not? // if(tags.size() > expectedArgCount)