aboutsummaryrefslogtreecommitdiffstats
path: root/storageserver/src/tests/storageservertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storageserver/src/tests/storageservertest.cpp')
-rw-r--r--storageserver/src/tests/storageservertest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storageserver/src/tests/storageservertest.cpp b/storageserver/src/tests/storageservertest.cpp
index 03b4dfd80da..cf8c8f06330 100644
--- a/storageserver/src/tests/storageservertest.cpp
+++ b/storageserver/src/tests/storageservertest.cpp
@@ -298,7 +298,7 @@ namespace {
public mbus::IReplyHandler
{
const vdstestlib::DirConfig& _config;
- const document::DocumentTypeRepo::SP _repo;
+ const std::shared_ptr<const document::DocumentTypeRepo> _repo;
documentapi::LoadTypeSet _loadTypes;
std::unique_ptr<mbus::RPCMessageBus> _mbus;
mbus::SourceSession::UP _sourceSession;
@@ -309,7 +309,7 @@ namespace {
bool _startedShutdown;
LoadGiver(const vdstestlib::DirConfig& config,
- const document::DocumentTypeRepo::SP repo)
+ const std::shared_ptr<const document::DocumentTypeRepo> repo)
: _config(config), _repo(repo), _mbus(), _sourceSession(),
_maxPending(20), _currentPending(0), _processedOk(0),
_unexpectedErrors(0), _startedShutdown(false) {}