2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

minor fix: violation of min/max guidelines

[SVN r34717]
This commit is contained in:
Gennaro Prota
2006-07-24 22:04:05 +00:00
parent ec77608840
commit f332ff2d89

View File

@@ -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(