diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp index b7e619cfe4c..ee13151045d 100644 --- a/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp +++ b/searchlib/src/vespa/searchlib/query/streaming/queryterm.cpp @@ -151,9 +151,9 @@ void QueryTerm::getPhrases(QueryNodeRefList & tl) { (void) tl; } void QueryTerm::getPhrases(ConstQueryNodeRefList & tl) const { (void) tl; } void QueryTerm::getLeaves(QueryTermList & tl) { tl.push_back(this); } void QueryTerm::getLeaves(ConstQueryTermList & tl) const { tl.push_back(this); } -bool QueryTerm::evaluate() const { return !_hitList.empty(); } +bool QueryTerm::evaluate() { return !_hitList.empty(); } void QueryTerm::reset() { _hitList.clear(); } -const HitList & QueryTerm::evaluateHits(HitList &) const { return _hitList; } +const HitList & QueryTerm::evaluateHits(HitList &) { return _hitList; } void QueryTerm::resizeFieldId(size_t fieldNo) { |