diff options
author | Tor Egge <Tor.Egge@oath.com> | 2017-10-04 11:37:21 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2017-10-04 14:20:19 +0000 |
commit | 3f419f70b9ae6dffbb07c3f042a8482dc413c278 (patch) | |
tree | 0bfa00c37d2b0a00a3815536e3dc1f351e27d70b /document | |
parent | 80d54b0d844c964b0ce1cf42cce3f0373ef327a4 (diff) |
Use document::Bucket in storage::spi::Bucket to add bucket space.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/bucket/bucketspace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/document/src/vespa/document/bucket/bucketspace.h b/document/src/vespa/document/bucket/bucketspace.h index 8f93526afa7..c13c81dbd73 100644 --- a/document/src/vespa/document/bucket/bucketspace.h +++ b/document/src/vespa/document/bucket/bucketspace.h @@ -32,6 +32,11 @@ public: return std::hash<Type>()(bs.getId()); } }; + + /* + * Temporary placeholder value while wiring in use of BucketSpace in APIs. + */ + static BucketSpace placeHolder() { return BucketSpace(0); } private: Type _id; }; |