aboutsummaryrefslogtreecommitdiffstats
path: root/vsm
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-03-04 16:15:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-03-04 18:07:04 +0000
commit4d4b1024cbaa9ad537927d66309db8aa9f628c37 (patch)
tree834db36e1f9c1fa8804713ae049deb3d86c6264b /vsm
parent311e77aad06f187c70864a80a0703082f72bb3d8 (diff)
Keep only one ucs4 buffer, and create the buffer lazy.
Diffstat (limited to 'vsm')
-rw-r--r--vsm/src/tests/searcher/searcher_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vsm/src/tests/searcher/searcher_test.cpp b/vsm/src/tests/searcher/searcher_test.cpp
index e8753a43397..d21eb78cab7 100644
--- a/vsm/src/tests/searcher/searcher_test.cpp
+++ b/vsm/src/tests/searcher/searcher_test.cpp
@@ -320,7 +320,7 @@ performSearch(FieldSearcher & fs, const StringList & query, const FieldValue & f
doc.setField(0, document::FieldValue::UP(fv.clone()));
fs.search(doc);
- return q.qtv;
+ return std::move(q.qtv);
}
void