diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/http_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http_server.h b/include/http_server.h index e751116..4696450 100644 --- a/include/http_server.h +++ b/include/http_server.h @@ -25,7 +25,7 @@ namespace crow class Server { public: - Server(Handler* handler, std::string bindaddr, uint16_t port, std::tuple<Middlewares...>* middlewares = nullptr, uint16_t concurrency = 1, typename Adaptor::context* adaptor_ctx = nullptr) + Server(Handler* handler, std::string bindaddr, uint16_t port, std::tuple<Middlewares...>* middlewares = nullptr, uint16_t concurrency = 1, typename Adaptor::context* adaptor_ctx = nullptr) : acceptor_(io_service_, tcp::endpoint(boost::asio::ip::address::from_string(bindaddr), port)), signals_(io_service_, SIGINT, SIGTERM), handler_(handler), |