fix compile on windows
undefine min, max if including Windows.h
This commit is contained in:
parent
954b10ad3b
commit
61273ec8cb
@ -3795,7 +3795,8 @@ template<typename OfType, typename T,
|
|||||||
bool OfTypeSigned = std::is_signed<OfType>::value,
|
bool OfTypeSigned = std::is_signed<OfType>::value,
|
||||||
bool TSigned = std::is_signed<T>::value>
|
bool TSigned = std::is_signed<T>::value>
|
||||||
struct value_in_range_of_impl2;
|
struct value_in_range_of_impl2;
|
||||||
|
#undef min
|
||||||
|
#undef max
|
||||||
template<typename OfType, typename T>
|
template<typename OfType, typename T>
|
||||||
struct value_in_range_of_impl2<OfType, T, false, false>
|
struct value_in_range_of_impl2<OfType, T, false, false>
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user