summaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp')
-rw-r--r--streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp b/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
index 8585975ca3c..578fc9fe0e5 100644
--- a/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
+++ b/streamingvisitors/src/vespa/vsm/searcher/floatfieldsearcher.cpp
@@ -36,8 +36,7 @@ void FloatFieldSearcherT<T>::prepare(search::streaming::QueryTermList& qtl,
{
_floatTerm.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) {
double low;