Skip to content

Commit

Permalink
Fix unused warnings in core_name14_disabled.hpp (#183)
Browse files Browse the repository at this point in the history
Fixes #182
  • Loading branch information
anarthal authored Sep 13, 2024
1 parent e4cbbc7 commit 73938e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/pfr/detail/core_name14_disabled.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ constexpr auto tie_as_names_tuple() noexcept {


template <class T, class F>
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."
Expand Down

0 comments on commit 73938e0

Please sign in to comment.