解决编译问题

This commit is contained in:
iaom 2023-10-25 10:37:21 +08:00
parent c2b867bb17
commit 0f79c14466
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ inline Xapian::Query FileContentSearchWorker::createQuery()
{
std::vector<Xapian::Query> v;
for (const auto &keyword : m_searchController->getKeyword()) {
for (auto &keyword : m_searchController->getKeyword()) {
std::vector<KeyWord> sKeyWord = ChineseSegmentation::getInstance()->callSegment(keyword);
for(const auto & c : sKeyWord) {