summaryrefslogtreecommitdiff
path: root/user/clucene/voidmap.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-02-11 00:38:53 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-02-11 00:38:53 -0600
commit85b8dd24d4b16e9d12247163cba34de30be47fe1 (patch)
tree5c3214b6210600e39d8244056ec58540bcee8d00 /user/clucene/voidmap.patch
parent86c0a8e199e42bee5b5358c4a822912ef4b7ceac (diff)
downloadpackages-85b8dd24d4b16e9d12247163cba34de30be47fe1.tar.gz
packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.tar.bz2
packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.tar.xz
packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.zip
user/clucene: More fixes
This doesn't fix the test failure, but is more correct.
Diffstat (limited to 'user/clucene/voidmap.patch')
-rw-r--r--user/clucene/voidmap.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/clucene/voidmap.patch b/user/clucene/voidmap.patch
new file mode 100644
index 000000000..158de4dec
--- /dev/null
+++ b/user/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;
+ }
+ };
+