diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-11 19:49:42 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-12 06:20:10 +0000 |
commit | 437037a3e6ec0e64785ce084853ba406997466f3 (patch) | |
tree | 1e821b8ae5daa2f2c5dd87e69dcbae9a72dbc060 /Lib/java/std_unordered_map.i | |
parent | d06ffe1087c714d163c09e57f6f3c20ccbcd4922 (diff) | |
download | swig-437037a3e6ec0e64785ce084853ba406997466f3.tar.gz |
Replicate some cosmetic changes from std_map.i
into std_set.i, std_unordered_map.i, std_unordered_set.i.
Diffstat (limited to 'Lib/java/std_unordered_map.i')
-rw-r--r-- | Lib/java/std_unordered_map.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/java/std_unordered_map.i b/Lib/java/std_unordered_map.i index 405e0fba5..3b926b0e6 100644 --- a/Lib/java/std_unordered_map.i +++ b/Lib/java/std_unordered_map.i @@ -112,7 +112,7 @@ template<class KeyType, class MappedType > class unordered_map { Iterator itr = begin(); final Iterator end = end(); - while(itr.isNot(end)) { + while (itr.isNot(end)) { setToReturn.add(new Entry<$typemap(jboxtype, KeyType), $typemap(jboxtype, MappedType)>() { private Iterator iterator; @@ -159,7 +159,7 @@ template<class KeyType, class MappedType > class unordered_map { return ++copy; } - bool isNot(const iterator other) const { + bool isNot(iterator other) const { return (*$self != other); } |