summaryrefslogtreecommitdiff
path: root/Lib/csharp/std_map.i
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/csharp/std_map.i')
-rw-r--r--Lib/csharp/std_map.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/csharp/std_map.i b/Lib/csharp/std_map.i
index 7a118569a..e7a910f65 100644
--- a/Lib/csharp/std_map.i
+++ b/Lib/csharp/std_map.i
@@ -269,12 +269,14 @@
}
const key_type& get_next_key(std::map< K, T, C >::iterator *swigiterator) {
+ (void)$self;
std::map< K, T, C >::iterator iter = *swigiterator;
(*swigiterator)++;
return (*iter).first;
}
void destroy_iterator(std::map< K, T, C >::iterator *swigiterator) {
+ (void)$self;
delete swigiterator;
}
}
@@ -309,4 +311,3 @@ namespace std {
%define specialize_std_map_on_both(K,CHECK_K,CONVERT_K_FROM,CONVERT_K_TO, T,CHECK_T,CONVERT_T_FROM,CONVERT_T_TO)
#warning "specialize_std_map_on_both ignored - macro is deprecated and no longer necessary"
%enddef
-