diff options
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/bucket/bucket.cpp | 6 | ||||
-rw-r--r-- | document/src/vespa/document/bucket/bucket.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/document/src/vespa/document/bucket/bucket.cpp b/document/src/vespa/document/bucket/bucket.cpp index 841d0841381..d2855c0b3a1 100644 --- a/document/src/vespa/document/bucket/bucket.cpp +++ b/document/src/vespa/document/bucket/bucket.cpp @@ -5,6 +5,12 @@ namespace document { +Bucket::Bucket() noexcept + : _bucketSpace(BucketSpace::placeHolder()), + _bucketId() +{ +} + vespalib::string Bucket::toString() const { vespalib::asciistream os; diff --git a/document/src/vespa/document/bucket/bucket.h b/document/src/vespa/document/bucket/bucket.h index f6e44354834..5aa9b360c42 100644 --- a/document/src/vespa/document/bucket/bucket.h +++ b/document/src/vespa/document/bucket/bucket.h @@ -11,6 +11,7 @@ namespace document { class Bucket { public: + Bucket() noexcept; Bucket(const Bucket&) noexcept = default; Bucket& operator=(const Bucket&) noexcept = default; Bucket(BucketSpace bucketSpace, BucketId bucketId) noexcept : _bucketSpace(bucketSpace), _bucketId(bucketId) {} |