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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/tests/common/teststorageapp.h b/storage/src/tests/common/teststorageapp.h
index 3742879bd30..9e273002580 100644
--- a/storage/src/tests/common/teststorageapp.h
+++ b/storage/src/tests/common/teststorageapp.h
@@ -84,7 +84,7 @@ public:
const document::BucketIdFactory& getBucketIdFactory()
{ return _compReg.getBucketIdFactory(); }
TestNodeStateUpdater& getStateUpdater() { return _nodeStateUpdater; }
- lib::Distribution::SP getDistribution()
+ std::shared_ptr<lib::Distribution> & getDistribution()
{ return _compReg.getDistribution(); }
TestNodeStateUpdater& getNodeStateUpdater() { return _nodeStateUpdater; }
uint16_t getIndex() const { return _compReg.getIndex(); }