summaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp')
-rw-r--r--streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp b/streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp
index 18b286946f7..0fb71a3c3c6 100644
--- a/streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp
+++ b/streamingvisitors/src/vespa/vsm/searcher/intfieldsearcher.cpp
@@ -26,8 +26,7 @@ void IntFieldSearcher::prepare(search::streaming::QueryTermList& qtl,
{
_intTerm.clear();
FieldSearcher::prepare(qtl, buf, field_paths, query_env);
- for (QueryTermList::const_iterator it=qtl.begin(); it < qtl.end(); it++) {
- const QueryTerm * qt = *it;
+ for (auto qt : qtl) {
size_t sz(qt->termLen());
if (sz) {
int64_t low;