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."