Fix unused-parameter warning in pycontainer.swg

This commit is contained in:
Julien Schueller 2019-11-06 17:00:47 +01:00
commit 96c6bf4cc2

View file

@ -52,7 +52,7 @@ namespace swig {
struct container_owner {
// By default, do not add the back-reference (for value types)
// Specialization below will check the reference for pointer types.
static bool back_reference(PyObject* child, PyObject* owner) {
static bool back_reference(PyObject* /*child*/, PyObject* /*owner*/) {
return false;
}
};