diff options
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; }; |