Merge pull request #1623 from rex4539/fix-warnings2

Fix clang warning
This commit is contained in:
orignal 2021-01-24 11:23:12 -05:00 committed by GitHub
commit 96e9608036
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1519,7 +1519,7 @@ namespace transport
boost::asio::streambuf * readbuff = new boost::asio::streambuf;
boost::asio::async_read_until(conn->GetSocket(), *readbuff, "\r\n\r\n",
[this, readbuff, timer, conn] (const boost::system::error_code & ec, std::size_t transferred)
[readbuff, timer, conn] (const boost::system::error_code & ec, std::size_t transferred)
{
if(ec)
{