summaryrefslogtreecommitdiffstats
path: root/external/clucene/patches/clucene-pure-virtual.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/clucene/patches/clucene-pure-virtual.patch')
-rw-r--r--external/clucene/patches/clucene-pure-virtual.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/external/clucene/patches/clucene-pure-virtual.patch b/external/clucene/patches/clucene-pure-virtual.patch
new file mode 100644
index 0000000000..0d4f95fe53
--- /dev/null
+++ b/external/clucene/patches/clucene-pure-virtual.patch
@@ -0,0 +1,11 @@
+--- src/core/CLucene/store/IndexOutput.h
++++ src/core/CLucene/store/IndexOutput.h
+@@ -159,7 +159,7 @@
+ * @param b the bytes to write
+ * @param len the number of bytes to write
+ */
+- virtual void flushBuffer(const uint8_t* b, const int32_t len) = 0;
++ virtual void flushBuffer(const uint8_t* /*b*/, const int32_t /*len*/) {}
+ };
+
+ CL_NS_END