diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-10-15 00:51:58 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-10-15 14:57:30 +0100 |
commit | 4c86f45c54fbeffc43cd56e9c973aabb97841634 (patch) | |
tree | 065b0f9264c0028683135d49eecf4ea2bc793c3c /Lib | |
parent | 1c70dbdb6c23a64c58c55ce1e509b908e972eabb (diff) | |
download | swig-4c86f45c54fbeffc43cd56e9c973aabb97841634.tar.gz |
Fix for Java 7 - std::set and std::unordered_set
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/java/std_set.i | 4 | ||||
-rw-r--r-- | Lib/java/std_unordered_set.i | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Lib/java/std_set.i b/Lib/java/std_set.i index 73e0c2cf9..053866bc7 100644 --- a/Lib/java/std_set.i +++ b/Lib/java/std_set.i @@ -96,6 +96,10 @@ class set { public boolean hasNext() { return curr.isNot(end); } + + public void remove() { + throw new java.lang.UnsupportedOperationException(); + } }.init(); } diff --git a/Lib/java/std_unordered_set.i b/Lib/java/std_unordered_set.i index 59726e94d..ddcedf052 100644 --- a/Lib/java/std_unordered_set.i +++ b/Lib/java/std_unordered_set.i @@ -92,6 +92,10 @@ class unordered_set { public boolean hasNext() { return curr.isNot(end); } + + public void remove() { + throw new java.lang.UnsupportedOperationException(); + } }.init(); } |