summaryrefslogtreecommitdiffstats
path: root/external/clucene/patches/clucene-debug.patch
blob: 640454e2fb2d705e2f105eba9f1541d78c76c780 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/core/CLucene/index/TermInfosReader.cpp
+++ src/core/CLucene/index/TermInfosReader.cpp
@@ -111,7 +111,7 @@
 	      //destroy their elements
 #ifdef _DEBUG
          for ( int32_t i=0; i<indexTermsLength;++i ){
-            indexTerms[i].__cl_refcount--;
+            indexTerms[i].__cl_decref();
          }
 #endif
          //Delete the arrays