summaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/net/state_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/net/state_server.h')
-rw-r--r--staging_vespalib/src/vespa/vespalib/net/state_server.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/net/state_server.h b/staging_vespalib/src/vespa/vespalib/net/state_server.h
index 63ee899fd84..ff31f0e1ed6 100644
--- a/staging_vespalib/src/vespa/vespalib/net/state_server.h
+++ b/staging_vespalib/src/vespa/vespalib/net/state_server.h
@@ -8,7 +8,6 @@
#include "health_producer.h"
#include "metrics_producer.h"
#include "component_config_producer.h"
-#include <memory>
#include "json_handler_repo.h"
namespace vespalib {
@@ -26,10 +25,8 @@ private:
public:
typedef std::unique_ptr<StateServer> UP;
- StateServer(int port,
- const HealthProducer &hp,
- MetricsProducer &mp,
- ComponentConfigProducer &ccp);
+ StateServer(int port, const HealthProducer &hp, MetricsProducer &mp, ComponentConfigProducer &ccp);
+ ~StateServer();
int getListenPort() { return _server.port(); }
JsonHandlerRepo &repo() { return _api.repo(); }
};