Replicate some cosmetic changes from std_map.i

into std_set.i, std_unordered_map.i, std_unordered_set.i.
This commit is contained in:
William S Fulton 2019-02-11 19:49:42 +00:00
commit 437037a3e6
4 changed files with 49 additions and 49 deletions

View file

@ -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);
}