From adf42d0f35d761be1e1b144595bda4d48d4944de Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Sun, 12 Sep 2021 14:36:48 +1000 Subject: [PATCH] Fix unused var dummy_array in Callable.hpp:76 Signed-off-by: Jiahao XU --- src/Callback/Callable.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Callback/Callable.hpp b/src/Callback/Callable.hpp index 04fc515..100d2b9 100644 --- a/src/Callback/Callable.hpp +++ b/src/Callback/Callable.hpp @@ -74,6 +74,7 @@ class Callable { return 0; }; const int dummy_array[] = {dummy(std::forward(args))...}; + (void) dummy_array; if constexpr(!std::is_void_v) return Ret{};