summaryrefslogtreecommitdiffstats
path: root/storageserver
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-04-04 11:45:55 +0000
committerTor Egge <Tor.Egge@oath.com>2018-04-04 11:45:55 +0000
commit8cfeaeba255ccea54f8345724e72adf53280e33d (patch)
tree711593ee26f3688371e0b0ae948247df22ee54d0 /storageserver
parent7902239839a6f34e12ed7aa0f2b7a65114f8ee68 (diff)
Stop using nested typedef for shared pointer to const DocumentTypeRepo.
Diffstat (limited to 'storageserver')
-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) {}