mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
(merge from head)
minor fix: violation of min/max guidelines [SVN r34718]
This commit is contained in:
@@ -90,7 +90,7 @@ struct with_custodian_and_ward_postcall : BasePolicy_
|
||||
// check if either custodian or ward exceeds the arity
|
||||
// (this weird formulation avoids "always false" warnings
|
||||
// for arity_ = 0)
|
||||
if ( std::max(custodian, ward) > arity_ )
|
||||
if ( (std::max)(custodian, ward) > arity_ )
|
||||
#endif
|
||||
{
|
||||
PyErr_SetString(
|
||||
|
||||
Reference in New Issue
Block a user