From: Remi Gacogne Date: Tue, 9 Oct 2018 08:48:51 +0000 (+0200) Subject: rec: Fix a compilation issue in the SyncRes unit tests X-Git-Tag: dnsdist-1.3.3~54^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=128efd1de2e66a3d15395048a879c0768483c381;p=pdns rec: Fix a compilation issue in the SyncRes unit tests Introduced by a conflict between #6708 and #6979. --- diff --git a/pdns/recursordist/test-syncres_cc.cc b/pdns/recursordist/test-syncres_cc.cc index 6fb0f90c3..a7280c026 100644 --- a/pdns/recursordist/test-syncres_cc.cc +++ b/pdns/recursordist/test-syncres_cc.cc @@ -10081,7 +10081,7 @@ BOOST_AUTO_TEST_CASE(test_cname_plus_authority_auth) { const DNSName cnameTarget("cname-target.powerdns.com"); size_t queriesCount = 0; - sr->setAsyncCallback([target, cnameTarget, &queriesCount](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional& srcmask, boost::optional context, std::shared_ptr outgoingLogger, LWResult* res, bool* chained) { + sr->setAsyncCallback([target, cnameTarget, &queriesCount](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional& srcmask, boost::optional context, LWResult* res, bool* chained) { queriesCount++;