Skip to content

Commit

Permalink
Address violation of Boost min/max guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
runer112 authored Oct 7, 2024
1 parent 8395a30 commit fe6f150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/pfr/detail/fields_count.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace boost { namespace pfr { namespace detail {

///////////////////// min without including <algorithm>
template <class T>
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;
}

Expand Down

0 comments on commit fe6f150

Please sign in to comment.