aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient')
-rw-r--r--vespaclient/src/vespa/vespaclient/vesparoute/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp b/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp
index e24a65103a7..1f35d348e28 100644
--- a/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp
+++ b/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp
@@ -45,7 +45,7 @@ Application::Main()
return EXIT_SUCCESS;
}
- DocumentTypeRepo::SP repo(
+ std::shared_ptr<const DocumentTypeRepo> repo(
new DocumentTypeRepo(
*ConfigGetter<DocumenttypesConfig>::getConfig(_params.getDocumentTypesConfigId())));
_net.reset(new MyNetwork(_params.getRPCNetworkParams()));