From: Marcin Siodelski Date: Fri, 21 Aug 2020 12:44:51 +0000 (+0200) Subject: [#1390] Removed spurious reference X-Git-Tag: Kea-1.8.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b457e273efe0161dbb4878032003f595f708d987;p=thirdparty%2Fkea.git [#1390] Removed spurious reference Per review comments. --- diff --git a/src/lib/http/tests/server_client_unittests.cc b/src/lib/http/tests/server_client_unittests.cc index 6717128a5f..d55b3c2aa0 100644 --- a/src/lib/http/tests/server_client_unittests.cc +++ b/src/lib/http/tests/server_client_unittests.cc @@ -1538,9 +1538,9 @@ public: PostHttpRequestJsonPtr request = createRequest("sequence", 1); HttpResponseJsonPtr response(new HttpResponseJson()); ASSERT_NO_THROW(client.asyncSendRequest(url, request, response, - [this, &cb_num, &client](const boost::system::error_code& ec, - const HttpResponsePtr& response, - const std::string&) { + [this, &cb_num](const boost::system::error_code& ec, + const HttpResponsePtr& response, + const std::string&) { if (++cb_num > 1) { io_service_.stop(); }