summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-01-19 13:19:41 +0100
committerTor Egge <Tor.Egge@online.no>2024-01-19 13:19:41 +0100
commitf8cdeb15bde6950c980311c05edc3a46c5aa6ccf (patch)
tree9a4fee478e6ce8b44b375488cdc38b18572e422c /searchlib
parent7d737bcdc09d4aefd3cad56383871e6530a84561 (diff)
Remove unused search::streaming::Hit::operator<().
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/query/streaming/hit.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/query/streaming/hit.h b/searchlib/src/vespa/searchlib/query/streaming/hit.h
index 81d6816ab56..1e467a895ac 100644
--- a/searchlib/src/vespa/searchlib/query/streaming/hit.h
+++ b/searchlib/src/vespa/searchlib/query/streaming/hit.h
@@ -19,9 +19,7 @@ public:
uint32_t wordpos() const { return _position & 0xffffff; }
uint32_t field_id() const noexcept { return _position >> 24; }
uint32_t elemId() const { return _elemId; }
- bool operator < (const Hit & b) const { return cmp(b) < 0; }
private:
- int cmp(const Hit & b) const { return _position - b._position; }
uint32_t _position;
uint32_t _elemId;
int32_t _weight;