summaryrefslogtreecommitdiff
path: root/clucene/patches/clucene-multimap-put.patch
diff options
context:
space:
mode:
Diffstat (limited to 'clucene/patches/clucene-multimap-put.patch')
-rw-r--r--clucene/patches/clucene-multimap-put.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/clucene/patches/clucene-multimap-put.patch b/clucene/patches/clucene-multimap-put.patch
new file mode 100644
index 000000000000..bfff31a8727b
--- /dev/null
+++ b/clucene/patches/clucene-multimap-put.patch
@@ -0,0 +1,9 @@
+--- src/core/CLucene/util/VoidMap.h
++++ src/core/CLucene/util/VoidMap.h
+@@ -316,6 +316,7 @@ public:
+ if ( _this::dk || _this::dv )
+ _this::remove(k);
+
++ (*this)[k] = v;
+ }
+ };