summaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-02-20 23:26:55 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-02-20 23:34:51 +0000
commitacbdc8385fef981a9bc5cbfb46483c54c953dc04 (patch)
tree1d9c02e4e9476510dd32131cad01940969493806 /vespaclient
parent1cfea65b9bc71b472e9dc3370b120cf428b6ece0 (diff)
Make ConfigUri constructors explicit and use same context where possible in proton.
Diffstat (limited to 'vespaclient')
-rw-r--r--vespaclient/src/vespa/vespaclient/vesparoute/application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp b/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp
index 7a697941d88..75d8f770c1a 100644
--- a/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp
+++ b/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp
@@ -30,7 +30,7 @@ Application::Application() :
_params()
{ }
-Application::~Application() {}
+Application::~Application() = default;
int
@@ -46,7 +46,7 @@ Application::Main()
auto repo = std::make_shared<DocumentTypeRepo>(
*ConfigGetter<DocumenttypesConfig>::getConfig(_params.getDocumentTypesConfigId()));
- _net = std::make_unique<MyNetwork>(mbus::RPCNetworkParams(_params.getSlobrokConfigId())
+ _net = std::make_unique<MyNetwork>(mbus::RPCNetworkParams(config::ConfigUri(_params.getSlobrokConfigId()))
.setIdentity(_params.getRPCNetworkParams().getIdentity())
.setListenPort(_params.getRPCNetworkParams().getListenPort()));
_mbus = std::make_unique<mbus::MessageBus>(