diff options
Diffstat (limited to 'storageserver')
-rw-r--r-- | storageserver/src/vespa/storageserver/app/servicelayerprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storageserver/src/vespa/storageserver/app/servicelayerprocess.cpp b/storageserver/src/vespa/storageserver/app/servicelayerprocess.cpp index af9ba53ef70..bde93b9e4fb 100644 --- a/storageserver/src/vespa/storageserver/app/servicelayerprocess.cpp +++ b/storageserver/src/vespa/storageserver/app/servicelayerprocess.cpp @@ -14,7 +14,7 @@ ServiceLayerProcess::ServiceLayerProcess(const config::ConfigUri & configUri) { } -ServiceLayerProcess::~ServiceLayerProcess() {} +ServiceLayerProcess::~ServiceLayerProcess() = default; void ServiceLayerProcess::shutdown() @@ -26,7 +26,7 @@ ServiceLayerProcess::shutdown() void ServiceLayerProcess::createNode() { - _externalVisitors["searchvisitor"].reset(new streaming::SearchVisitorFactory(_configUri)); + _externalVisitors["searchvisitor"] = std::make_shared<streaming::SearchVisitorFactory>(_configUri); setupProvider(); _node = std::make_unique<ServiceLayerNode>(_configUri, _context, *this, getProvider(), _externalVisitors); _node->init(); |