summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2017-11-16 11:04:19 +0000
committerTor Egge <Tor.Egge@oath.com>2017-11-16 11:04:19 +0000
commitc8688f0d1c18b35b711cf279409ec7a55ec299a2 (patch)
tree7a2eaddd2673d73b2320221469c9a648e010e362 /document
parent609db2debccc712f5805ec58cededb96809ed54c (diff)
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);
}
}