mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
Workaround bogus GCC warning.
[SVN r24306]
This commit is contained in:
@@ -84,7 +84,7 @@ struct with_custodian_and_ward_postcall : BasePolicy_
|
||||
template <class ArgumentPackage>
|
||||
static PyObject* postcall(ArgumentPackage const& args_, PyObject* result)
|
||||
{
|
||||
unsigned arity_ = detail::arity(args_);
|
||||
std::size_t arity_ = detail::arity(args_);
|
||||
if ( custodian > arity_ || ward > arity_ )
|
||||
{
|
||||
PyErr_SetString(
|
||||
|
||||
Reference in New Issue
Block a user