summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-01 13:12:41 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-08 21:38:36 +0000
commit72e9888bcccbc384d2485409ba055633131ed512 (patch)
tree79eb45091ead4ffeff40a1baf6cebe33edf7a9d4 /staging_vespalib
parentfa93596f761848645b3ee133bfd665ece2cc06d6 (diff)
Specify destructors explicit to control inlining.
Conflicts: build_settings.cmake
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/net/http_server.cpp2
-rw-r--r--staging_vespalib/src/vespa/vespalib/net/http_server.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/net/http_server.cpp b/staging_vespalib/src/vespa/vespalib/net/http_server.cpp
index 211d4f2c810..32b9caab687 100644
--- a/staging_vespalib/src/vespa/vespalib/net/http_server.cpp
+++ b/staging_vespalib/src/vespa/vespalib/net/http_server.cpp
@@ -51,6 +51,8 @@ HttpServer::HttpServer(int port_in)
_server->SetKeepAlive(false);
}
+HttpServer::~HttpServer() { }
+
void
HttpServer::start()
{
diff --git a/staging_vespalib/src/vespa/vespalib/net/http_server.h b/staging_vespalib/src/vespa/vespalib/net/http_server.h
index a889dd9e091..2d8beb2e1ee 100644
--- a/staging_vespalib/src/vespa/vespalib/net/http_server.h
+++ b/staging_vespalib/src/vespa/vespalib/net/http_server.h
@@ -41,6 +41,7 @@ private:
public:
typedef std::unique_ptr<HttpServer> UP;
HttpServer(int port_in);
+ ~HttpServer();
const vespalib::string &host() const { return _my_host; }
JsonHandlerRepo &repo() { return _handler_repo; }
void start();