From 0d3c04f58c3dabbeac9c9cd63090a58e04995cca Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 12 Jan 2026 14:15:16 +0100 Subject: [PATCH] boost::optional -> std::optional Signed-off-by: Otto Moerbeek --- pdns/recursordist/test-syncres_cc1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3