Fix for Java 7 - std::set and std::unordered_set

This commit is contained in:
William S Fulton 2022-10-15 00:51:58 +01:00
commit 4c86f45c54
2 changed files with 8 additions and 0 deletions

View file

@ -96,6 +96,10 @@ class set {
public boolean hasNext() { public boolean hasNext() {
return curr.isNot(end); return curr.isNot(end);
} }
public void remove() {
throw new java.lang.UnsupportedOperationException();
}
}.init(); }.init();
} }

View file

@ -92,6 +92,10 @@ class unordered_set {
public boolean hasNext() { public boolean hasNext() {
return curr.isNot(end); return curr.isNot(end);
} }
public void remove() {
throw new java.lang.UnsupportedOperationException();
}
}.init(); }.init();
} }