summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2017-11-16 12:11:12 +0100
committerGitHub <noreply@github.com>2017-11-16 12:11:12 +0100
commit21b4349ae97edc59709fbfe54673fbd3a6b21016 (patch)
tree97ae591cfdd09a9f3e36b62fb1d62d5b5e35a13a /document
parent4aa88ea8cc5ca86d5eba9191a04c1524ce1a926d (diff)
parentc8688f0d1c18b35b711cf279409ec7a55ec299a2 (diff)
Merge pull request #4160 from vespa-engine/toregge/use-make-bucket-space-in-make-document-bucket
Use makeBucketSpace() in makeDocumentBucket().
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/test/make_document_bucket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/document/src/vespa/document/test/make_document_bucket.cpp b/document/src/vespa/document/test/make_document_bucket.cpp
index f4d22f7b83f..a24f757c99f 100644
--- a/document/src/vespa/document/test/make_document_bucket.cpp
+++ b/document/src/vespa/document/test/make_document_bucket.cpp
@@ -1,12 +1,13 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "make_document_bucket.h"
+#include "make_bucket_space.h"
namespace document::test {
Bucket makeDocumentBucket(BucketId bucketId)
{
- return Bucket(BucketSpace::placeHolder(), bucketId);
+ return Bucket(makeBucketSpace(), bucketId);
}
}