From 73938e0936243996023be25d91e8310786dcafde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anarthal=20=28Rub=C3=A9n=20P=C3=A9rez=29?= <34971811+anarthal@users.noreply.github.com> Date: Fri, 13 Sep 2024 18:03:12 +0200 Subject: [PATCH] Fix unused warnings in core_name14_disabled.hpp (#183) Fixes #182 --- include/boost/pfr/detail/core_name14_disabled.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/pfr/detail/core_name14_disabled.hpp b/include/boost/pfr/detail/core_name14_disabled.hpp index e1904f0..9d34278 100644 --- a/include/boost/pfr/detail/core_name14_disabled.hpp +++ b/include/boost/pfr/detail/core_name14_disabled.hpp @@ -39,7 +39,7 @@ constexpr auto tie_as_names_tuple() noexcept { template -constexpr void for_each_field_with_name(T&& value, F&& func) { +constexpr void for_each_field_with_name(T&& /* value */, F&& /* func */) { static_assert( sizeof(T) && false, "====================> Boost.PFR: Field's names extracting functionality requires C++20."