summaryrefslogtreecommitdiff
path: root/Lib/csharp/std_set.i
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/csharp/std_set.i')
-rw-r--r--Lib/csharp/std_set.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/csharp/std_set.i b/Lib/csharp/std_set.i
index 012152260..ec8a3dc5e 100644
--- a/Lib/csharp/std_set.i
+++ b/Lib/csharp/std_set.i
@@ -297,12 +297,14 @@ class set {
}
const key_type& get_next(std::set<T>::iterator *swigiterator) {
+ (void)$self;
std::set<T>::iterator iter = *swigiterator;
(*swigiterator)++;
return *iter;
}
void destroy_iterator(std::set<T>::iterator *swigiterator) {
+ (void)$self;
delete swigiterator;
}
}