summaryrefslogtreecommitdiffstats
path: root/external/clucene/patches/clucene-multimap-put.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/clucene/patches/clucene-multimap-put.patch')
-rw-r--r--external/clucene/patches/clucene-multimap-put.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/external/clucene/patches/clucene-multimap-put.patch b/external/clucene/patches/clucene-multimap-put.patch
new file mode 100644
index 000000000..bfff31a87
--- /dev/null
+++ b/external/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;
+ }
+ };