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