summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/teststorageapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/common/teststorageapp.h')
-rw-r--r--storage/src/tests/common/teststorageapp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/tests/common/teststorageapp.h b/storage/src/tests/common/teststorageapp.h
index 369cdedc583..867ac9d38fc 100644
--- a/storage/src/tests/common/teststorageapp.h
+++ b/storage/src/tests/common/teststorageapp.h
@@ -68,14 +68,14 @@ public:
// Set functions, to be able to modify content while running.
void setDistribution(Redundancy, NodeCount);
- void setTypeRepo(document::DocumentTypeRepo::SP repo);
+ void setTypeRepo(std::shared_ptr<const document::DocumentTypeRepo> repo);
void setClusterState(const lib::ClusterState&);
// Utility functions for getting a hold of currently used bits. Practical
// to avoid adding extra components in the tests.
StorageComponentRegisterImpl& getComponentRegister() { return _compReg; }
document::TestDocMan& getTestDocMan() { return _docMan; }
- document::DocumentTypeRepo::SP getTypeRepo()
+ std::shared_ptr<const document::DocumentTypeRepo> getTypeRepo()
{ return _compReg.getTypeRepo(); }
const document::BucketIdFactory& getBucketIdFactory()
{ return _compReg.getBucketIdFactory(); }