diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-27 00:21:44 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-27 11:56:09 +0000 |
commit | 39d00826c3e7e30d59e6ca6d88eb3f36fb8358fd (patch) | |
tree | a7c3158fd574ec67ab32e66d7cd3ab58ebbdb2cc /vespaclient | |
parent | 989b8b5afa58dcbfa03e3999d75802ac6c70aa94 (diff) |
GC LoadTypeSet
Diffstat (limited to 'vespaclient')
-rw-r--r-- | vespaclient/src/vespa/vespaclient/vesparoute/application.cpp | 3 | ||||
-rw-r--r-- | vespaclient/src/vespa/vespaclient/vesparoute/application.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp b/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp index ae64db4d452..468c6b859ed 100644 --- a/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp +++ b/vespaclient/src/vespa/vespaclient/vesparoute/application.cpp @@ -25,7 +25,6 @@ using document::DocumentTypeRepo; namespace vesparoute { Application::Application() : - _loadTypes(), _net(), _mbus(), _params() @@ -54,7 +53,7 @@ Application::Main() *_net, mbus::MessageBusParams() .setRetryPolicy(mbus::IRetryPolicy::SP()) - .addProtocol(std::make_shared<documentapi::DocumentProtocol>(_loadTypes, repo))); + .addProtocol(std::make_shared<documentapi::DocumentProtocol>(repo))); mbus::ConfigAgent cfg(*_mbus); cfg.configure(ConfigGetter<MessagebusConfig>::getConfig(_params.getRoutingConfigId())); diff --git a/vespaclient/src/vespa/vespaclient/vesparoute/application.h b/vespaclient/src/vespa/vespaclient/vesparoute/application.h index 697319befcc..89f025472f5 100644 --- a/vespaclient/src/vespa/vespaclient/vesparoute/application.h +++ b/vespaclient/src/vespa/vespaclient/vesparoute/application.h @@ -6,7 +6,6 @@ #include <vespa/messagebus/routing/hopblueprint.h> #include "mynetwork.h" #include "params.h" -#include <vespa/documentapi/loadtypes/loadtypeset.h> namespace vesparoute { @@ -15,7 +14,6 @@ namespace vesparoute { */ class Application : public FastOS_Application { private: - documentapi::LoadTypeSet _loadTypes; std::unique_ptr<MyNetwork> _net; std::unique_ptr<mbus::MessageBus> _mbus; Params _params; |