diff options
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 675a0d23ebd..1168e636a4a 100644 --- a/document/src/vespa/document/bucket/bucketid.h +++ b/document/src/vespa/document/bucket/bucketid.h @@ -49,7 +49,7 @@ public: using Type = uint64_t; using List = bucket::BucketIdList; /** Create an initially unset bucket id. */ - BucketId() noexcept : _id(0) {} + constexpr BucketId() noexcept : _id(0) {} /** Create a bucket id with the given raw unchecked content. */ explicit BucketId(Type id) noexcept : _id(id) {} /** Create a bucket id using a set of bits from a raw unchecked value. */ |