summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-24 12:15:54 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-04-24 12:15:54 +0200
commit9e383f5102e1659592b0c8b5ff3d06012e760b85 (patch)
tree6848b18eae7c60f1d5e99267233c99facbf57e67 /searchlib
parentbbf12235b64545d624352840eff4c43eb4021578 (diff)
Put the start and end iterators into a Range class for simplicity and readability.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp b/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp
index bae7a04531f..591353dbd62 100644
--- a/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp
+++ b/searchlib/src/vespa/searchlib/expression/documentfieldnode.cpp
@@ -184,7 +184,7 @@ void DocumentFieldNode::onDoc(const Document & doc)
bool DocumentFieldNode::onExecute() const
{
- _doc->iterateNested(_fieldPath.begin(), _fieldPath.end(), *_handler);
+ _doc->iterateNested(_fieldPath.getFullRange(), *_handler);
return true;
}