]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1390] Removed spurious reference
authorMarcin Siodelski <marcin@isc.org>
Fri, 21 Aug 2020 12:44:51 +0000 (14:44 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 21 Aug 2020 13:36:08 +0000 (15:36 +0200)
Per review comments.

src/lib/http/tests/server_client_unittests.cc

index 6717128a5fff9580fec2ef117cf85333db866b22..d55b3c2aa0471771efb8e76d9cde10fd399b1bcd 100644 (file)
@@ -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();
             }