diff --git a/Lib/python/std_array.i b/Lib/python/std_array.i index 19fb6cca1..bad818be7 100644 --- a/Lib/python/std_array.i +++ b/Lib/python/std_array.i @@ -31,7 +31,7 @@ template inline void - erase(std::array* seq, const typename std::array::iterator& position) { + erase(std::array* SWIGUNUSEDPARM(seq), const typename std::array::iterator& SWIGUNUSEDPARM(position)) { throw std::invalid_argument("std::array object does not support item deletion"); } @@ -78,7 +78,7 @@ template inline void - delslice(std::array* self, Difference i, Difference j, Py_ssize_t step) { + delslice(std::array* SWIGUNUSEDPARM(self), Difference SWIGUNUSEDPARM(i), Difference SWIGUNUSEDPARM(j), Py_ssize_t SWIGUNUSEDPARM(step)) { throw std::invalid_argument("std::array object does not support item deletion"); } }