diff options
Diffstat (limited to 'include/http_server.h')
-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 6a3c109..228cc8c 100644 --- a/include/http_server.h +++ b/include/http_server.h @@ -61,7 +61,7 @@ namespace crow { if (!ec) { - auto p = std::make_shared<Connection<Handler>>(std::move(socket_), handler_, server_name_); + auto p = new Connection<Handler>(std::move(socket_), handler_, server_name_); p->start(); } do_accept(); |