summaryrefslogtreecommitdiff
path: root/http/http_client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/http_client.hpp')
-rw-r--r--http/http_client.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_client.hpp b/http/http_client.hpp
index c902e1a66b..fff261fe46 100644
--- a/http/http_client.hpp
+++ b/http/http_client.hpp
@@ -401,7 +401,7 @@ class ConnectionInfo : public std::enable_shared_from_this<ConnectionInfo>
}
static void onTimeout(const std::weak_ptr<ConnectionInfo>& weakSelf,
- const boost::system::error_code ec)
+ const boost::system::error_code& ec)
{
if (ec == boost::asio::error::operation_aborted)
{