]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
boost::optional -> std::optional 16836/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 12 Jan 2026 13:15:16 +0000 (14:15 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 9 Feb 2026 12:23:50 +0000 (13:23 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/test-syncres_cc1.cc

index af77456509a56f2ca9039d26ecbc83184fcefe63..309a7a3ad6c27adadd90165c483e752924077e79 100644 (file)
@@ -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<Netmask>& /* 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<Netmask>& /* srcmask */, const ResolveContext& /* context */, LWResult* res, bool* /* chained */) {
     if (isRootServer(address)) {
 
       setLWResult(res, 0, false, false, true);