summaryrefslogtreecommitdiff
path: root/extra/clucene/clucene-multimap-put.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/clucene/clucene-multimap-put.patch')
-rw-r--r--extra/clucene/clucene-multimap-put.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/clucene/clucene-multimap-put.patch b/extra/clucene/clucene-multimap-put.patch
new file mode 100644
index 000000000..36ed1fe22
--- /dev/null
+++ b/extra/clucene/clucene-multimap-put.patch
@@ -0,0 +1,10 @@
+--- 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;
+ }
+ };
+