2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

fix warnings

This commit is contained in:
Antony Polukhin
2020-10-16 19:11:12 +03:00
parent d797b30d3b
commit cef16a47a5
6 changed files with 9 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ constexpr auto tie_as_tuple(T& val, size_t_<1>, std::enable_if_t<!std::is_class<
############################################################################################################################
EPILOGUE = """
template <class T, std::size_t I>
constexpr void tie_as_tuple(T& val, size_t_<I>) noexcept {
constexpr void tie_as_tuple(T& /*val*/, size_t_<I>) noexcept {
static_assert(sizeof(T) && false,
"====================> Boost.PFR: Too many fields in a structure T. Regenerate include/boost/pfr/detail/core17_generated.hpp file for appropriate count of fields. For example: `python ./misc/generate_cpp17.py 300 > include/boost/pfr/detail/core17_generated.hpp`");
}