diff options
author | Tor Egge <tegge@vespa.ai> | 2024-01-19 14:08:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 14:08:01 +0100 |
commit | 74cbf975a435d54eb892de0142d6cceb2d1ebc93 (patch) | |
tree | 9a4fee478e6ce8b44b375488cdc38b18572e422c | |
parent | 7d737bcdc09d4aefd3cad56383871e6530a84561 (diff) | |
parent | f8cdeb15bde6950c980311c05edc3a46c5aa6ccf (diff) |
Merge pull request #29982 from vespa-engine/toregge/remove-unused-operator-less-from-search-streaming-hit
Remove unused search::streaming::Hit::operator<().
-rw-r--r-- | searchlib/src/vespa/searchlib/query/streaming/hit.h | 2 |
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; |