From 8c96b0de0b41c08abb030c986ca4f3aad37a700f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 29 Nov 2015 15:57:12 +0000 Subject: [PATCH] std::array unused parameter warning fixes --- Lib/python/std_array.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } }