diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-04-04 11:45:55 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-04-04 11:45:55 +0000 |
commit | 8cfeaeba255ccea54f8345724e72adf53280e33d (patch) | |
tree | 711593ee26f3688371e0b0ae948247df22ee54d0 /vespaclient | |
parent | 7902239839a6f34e12ed7aa0f2b7a65114f8ee68 (diff) |
Stop using nested typedef for shared pointer to const DocumentTypeRepo.
Diffstat (limited to 'vespaclient')
-rw-r--r-- | vespaclient/src/vespa/vespaclient/vesparoute/application.cpp | 2 |
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())); |