summaryrefslogtreecommitdiffstats
path: root/vespaclient
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-11-27 00:21:44 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-11-27 11:56:09 +0000
commit39d00826c3e7e30d59e6ca6d88eb3f36fb8358fd (patch)
treea7c3158fd574ec67ab32e66d7cd3ab58ebbdb2cc /vespaclient
parent989b8b5afa58dcbfa03e3999d75802ac6c70aa94 (diff)
GC LoadTypeSet
Diffstat (limited to 'vespaclient')
-rw-r--r--vespaclient/src/vespa/vespaclient/vesparoute/application.cpp3
-rw-r--r--vespaclient/src/vespa/vespaclient/vesparoute/application.h2
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;