diff options
Diffstat (limited to 'persistence')
-rw-r--r-- | persistence/src/vespa/persistence/spi/bucket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/persistence/src/vespa/persistence/spi/bucket.h b/persistence/src/vespa/persistence/spi/bucket.h index 175aba376a9..b7d04150108 100644 --- a/persistence/src/vespa/persistence/spi/bucket.h +++ b/persistence/src/vespa/persistence/spi/bucket.h @@ -36,7 +36,7 @@ public: /** Convert easily to a document bucket id to make class easy to use. */ operator document::BucketId() const { return _bucket.getBucketId(); } - bool operator==(const Bucket& o) const { + bool operator==(const Bucket& o) const noexcept { return (_bucket == o._bucket && _partition == o._partition); } |