diff --git a/bot/src/clucene/src/contribs-lib/CLucene/highlighter/Highlighter.cpp b/bot/src/clucene/src/contribs-lib/CLucene/highlighter/Highlighter.cpp index 1e54c29..0f7b6df 100644 --- a/bot/src/clucene/src/contribs-lib/CLucene/highlighter/Highlighter.cpp +++ b/bot/src/clucene/src/contribs-lib/CLucene/highlighter/Highlighter.cpp @@ -373,7 +373,7 @@ CL_NS_USE(util) } _CLDELETE_ARRAY(frags); frags = _CL_NEWARRAY(TextFragment*,fragTexts.size()+1); - fragTexts.toArray(frags, true); + fragTexts.toArray(frags); } _CLDELETE(tokenGroup); diff --git a/bot/src/clucene/src/contribs-lib/CLucene/highlighter/QueryTermExtractor.cpp b/bot/src/clucene/src/contribs-lib/CLucene/highlighter/QueryTermExtractor.cpp index 9a715c5..574726e 100644 --- a/bot/src/clucene/src/contribs-lib/CLucene/highlighter/QueryTermExtractor.cpp +++ b/bot/src/clucene/src/contribs-lib/CLucene/highlighter/QueryTermExtractor.cpp @@ -40,7 +40,7 @@ CL_NS_USE(index) // Return extracted terms WeightedTerm** ret = _CL_NEWARRAY(WeightedTerm*,terms.size()+1); - terms.toArray(ret, true); + terms.toArray(ret); return ret; } @@ -95,7 +95,7 @@ CL_NS_USE(index) // Return extracted terms WeightedTerm** ret = _CL_NEWARRAY(WeightedTerm*,terms.size()+1); - terms.toArray(ret, true); + terms.toArray(ret); return ret; } diff --git a/bot/src/clucene/src/contribs-lib/CLucene/highlighter/TokenSources.cpp b/bot/src/clucene/src/contribs-lib/CLucene/highlighter/TokenSources.cpp index c2e72a8..0fad7fe 100644 --- a/bot/src/clucene/src/contribs-lib/CLucene/highlighter/TokenSources.cpp +++ b/bot/src/clucene/src/contribs-lib/CLucene/highlighter/TokenSources.cpp @@ -158,7 +158,7 @@ TokenStream* TokenSources::getTokenStream(TermPositionVector* tpv, bool tokenPos tokensInOriginalOrder = _CL_NEWARRAY(Token*,unsortedTokens->size()+1); } //the list has already sorted our items //todo:check that this is true... - unsortedTokens->toArray(tokensInOriginalOrder, true); + unsortedTokens->toArray(tokensInOriginalOrder); return _CLNEW StoredTokenStream(tokensInOriginalOrder,unsortedTokens->size()); }else