diff options
author | Tor Egge <tegge@vespa.ai> | 2024-06-03 13:11:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 13:11:45 +0200 |
commit | 86974425545fe47432cc9c9ffb7cb376c86ec2a5 (patch) | |
tree | 1f17e36dd10e5e0f19266d55d6d320bae5f16d0d /searchlib | |
parent | 46b7e3a8771e8c654f39b96d26210b099910ef56 (diff) | |
parent | c169c719aa2b8f9b9fd86e08d53ea024108776c9 (diff) |
Merge pull request #31340 from vespa-engine/toregge/rewrite-match-loop-communicator-test-to-gtestv8.351.13
Rewrite match loop communicator unit test to gtest.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/scores.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/scores.h b/searchlib/src/vespa/searchlib/queryeval/scores.h index 19976a2831b..83b1ba9d406 100644 --- a/searchlib/src/vespa/searchlib/queryeval/scores.h +++ b/searchlib/src/vespa/searchlib/queryeval/scores.h @@ -24,6 +24,9 @@ struct Scores { high = score; } } + bool operator==(const Scores& rhs) const { + return low == rhs.low && high == rhs.high; + } }; } |