diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-12-15 10:04:04 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-12-15 12:41:49 +0000 |
commit | c3a2b291ae397934d6b06ef027ce9cc80437d75a (patch) | |
tree | 0cc7f134e9e48bc88fdd4e5222ae2f55b1fd6587 /document | |
parent | 73e52213eb642957fa7a5ddc53dbebbb121761df (diff) |
Misc cleanup and formatting of distributor code
No functional changes
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/bucket/bucketid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/bucket/bucketid.h b/document/src/vespa/document/bucket/bucketid.h index 370948c1acc..e83418fb07e 100644 --- a/document/src/vespa/document/bucket/bucketid.h +++ b/document/src/vespa/document/bucket/bucketid.h @@ -49,7 +49,7 @@ public: /** Create an initially unset bucket id. */ constexpr BucketId() noexcept : _id(0) {} /** Create a bucket id with the given raw unchecked content. */ - explicit BucketId(Type id) noexcept : _id(id) {} + constexpr explicit BucketId(Type id) noexcept : _id(id) {} /** Create a bucket id using a set of bits from a raw unchecked value. */ BucketId(uint32_t useBits, Type id) noexcept : _id(createUsedBits(useBits, id)) { } |