summaryrefslogtreecommitdiffstats
path: root/persistence
diff options
context:
space:
mode:
Diffstat (limited to 'persistence')
-rw-r--r--persistence/src/vespa/persistence/spi/bucket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/persistence/src/vespa/persistence/spi/bucket.h b/persistence/src/vespa/persistence/spi/bucket.h
index 874074d7e24..175aba376a9 100644
--- a/persistence/src/vespa/persistence/spi/bucket.h
+++ b/persistence/src/vespa/persistence/spi/bucket.h
@@ -24,8 +24,8 @@ class Bucket {
PartitionId _partition;
public:
- Bucket() : _bucket(document::BucketSpace::invalid(), document::BucketId(0)), _partition(0) {}
- Bucket(const document::Bucket& b, PartitionId p)
+ Bucket() noexcept : _bucket(document::BucketSpace::invalid(), document::BucketId(0)), _partition(0) {}
+ Bucket(const document::Bucket& b, PartitionId p) noexcept
: _bucket(b), _partition(p) {}
const document::Bucket &getBucket() const { return _bucket; }