From 99f4f3f05ba1d02791c6af47d6c485a3ff62d56c Mon Sep 17 00:00:00 2001 From: Lesley Date: Tue, 3 Mar 2020 22:02:11 -0700 Subject: [PATCH] fix MSVC unused parameter warning --- include/indicators/setting.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/indicators/setting.hpp b/include/indicators/setting.hpp index c444589..09e4e10 100644 --- a/include/indicators/setting.hpp +++ b/include/indicators/setting.hpp @@ -130,14 +130,14 @@ template Default &&get_impl(Default &&d } template -auto get_impl(Default &&def, T &&first, Args &&... tail) -> +auto get_impl(Default &&/*def*/, T &&first, Args &&... /*tail*/) -> typename std::enable_if<(std::decay::type::id == Id), decltype(std::forward(first))>::type { return std::forward(first); } template -auto get_impl(Default &&def, T &&first, Args &&... tail) -> +auto get_impl(Default &&def, T &&/*first*/, Args &&... tail) -> typename std::enable_if<(std::decay::type::id != Id), decltype(get_impl(std::forward(def), std::forward(tail)...))>::type {