diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-11-30 12:33:06 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-11-30 12:33:06 +0100 |
commit | c720e5e0fd0602099432d9f950ccc83fcc4d831c (patch) | |
tree | 8ed0a2900dde009aed3267e26dd14b19c61f5a37 /searchlib/src/vespa/searchlib/query/streaming/query.cpp | |
parent | 690f060bf5b5b5a22d747ecd5c8a66179dd4bd58 (diff) |
Standard plural of leaf is leaves.
Diffstat (limited to 'searchlib/src/vespa/searchlib/query/streaming/query.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/query/streaming/query.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/query.cpp b/searchlib/src/vespa/searchlib/query/streaming/query.cpp index 8e77f11709c..d1ab5ea24d6 100644 --- a/searchlib/src/vespa/searchlib/query/streaming/query.cpp +++ b/searchlib/src/vespa/searchlib/query/streaming/query.cpp @@ -45,18 +45,18 @@ QueryConnector::reset() } void -QueryConnector::getLeafs(QueryTermList & tl) +QueryConnector::getLeaves(QueryTermList & tl) { for (const auto & node : _children) { - node->getLeafs(tl); + node->getLeaves(tl); } } void -QueryConnector::getLeafs(ConstQueryTermList & tl) const +QueryConnector::getLeaves(ConstQueryTermList & tl) const { for (const auto & node : _children) { - node->getLeafs(tl); + node->getLeaves(tl); } } @@ -355,16 +355,16 @@ Query::build(const QueryNodeResultFactory & factory, vespalib::stringref queryRe } void -Query::getLeafs(QueryTermList & tl) { +Query::getLeaves(QueryTermList & tl) { if (valid()) { - _root->getLeafs(tl); + _root->getLeaves(tl); } } void -Query::getLeafs(ConstQueryTermList & tl) const { +Query::getLeaves(ConstQueryTermList & tl) const { if (valid()) { - _root->getLeafs(tl); + _root->getLeaves(tl); } } |