From: Otto Moerbeek Date: Mon, 12 Jan 2026 13:15:16 +0000 (+0100) Subject: boost::optional -> std::optional X-Git-Tag: rec-5.5.0-alpha0~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16836%2Fhead;p=thirdparty%2Fpdns.git boost::optional -> std::optional Signed-off-by: Otto Moerbeek --- diff --git a/pdns/recursordist/test-syncres_cc1.cc b/pdns/recursordist/test-syncres_cc1.cc index af77456509..309a7a3ad6 100644 --- a/pdns/recursordist/test-syncres_cc1.cc +++ b/pdns/recursordist/test-syncres_cc1.cc @@ -2201,7 +2201,7 @@ BOOST_AUTO_TEST_CASE(test_broken_cname_chain) timeval now{}; Utility::gettimeofday(&now, nullptr); - sr->setAsyncCallback([&](const ComboAddress& address, const DNSName& domain, int qtype, bool /* doTCP */, bool /* sendRDQuery */, int /* EDNS0Level */, struct timeval* /* now */, boost::optional& /* srcmask */, const ResolveContext& /* context */, LWResult* res, bool* /* chained */) { + sr->setAsyncCallback([&](const ComboAddress& address, const DNSName& domain, int qtype, bool /* doTCP */, bool /* sendRDQuery */, int /* EDNS0Level */, struct timeval* /* now */, std::optional& /* srcmask */, const ResolveContext& /* context */, LWResult* res, bool* /* chained */) { if (isRootServer(address)) { setLWResult(res, 0, false, false, true);