mirror of
https://github.com/boostorg/pfr.git
synced 2026-01-19 04:22:13 +00:00
Fix unused warning in fields_count.hpp (#187)
This commit is contained in:
committed by
GitHub
parent
469ac134f3
commit
69263f4757
@@ -215,6 +215,8 @@ constexpr std::size_t fields_count_compiler_limitation_next(std::size_t n) noexc
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1920)
|
||||
if (n < 1024)
|
||||
return 1024;
|
||||
#else
|
||||
static_cast<void>(n);
|
||||
#endif
|
||||
return SIZE_MAX;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user