summaryrefslogtreecommitdiff
path: root/http/http_server.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/http_server.hpp')
-rw-r--r--http/http_server.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_server.hpp b/http/http_server.hpp
index cc4fc2294d..3949a46ab0 100644
--- a/http/http_server.hpp
+++ b/http/http_server.hpp
@@ -181,7 +181,7 @@ class Server
}
acceptor->async_accept(
boost::beast::get_lowest_layer(connection->socket()),
- [this, connection](boost::system::error_code ec) {
+ [this, connection](const boost::system::error_code& ec) {
if (!ec)
{
boost::asio::post(*this->ioService,