From fe6f150a32c3ed6e6e56ae42b650ad3ac4e7952b Mon Sep 17 00:00:00 2001 From: Zachary Wassall Date: Mon, 7 Oct 2024 13:35:44 -0400 Subject: [PATCH] Address violation of Boost min/max guidelines --- include/boost/pfr/detail/fields_count.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/pfr/detail/fields_count.hpp b/include/boost/pfr/detail/fields_count.hpp index 3290ac89..cf201854 100644 --- a/include/boost/pfr/detail/fields_count.hpp +++ b/include/boost/pfr/detail/fields_count.hpp @@ -33,7 +33,7 @@ namespace boost { namespace pfr { namespace detail { ///////////////////// min without including template -constexpr const T& min(const T& a, const T& b) { +constexpr const T& (min)(const T& a, const T& b) { return b < a ? b : a; }