From: Rosen Penev Date: Fri, 13 Dec 2024 18:36:12 +0000 (-0800) Subject: sdig: boost > std optional X-Git-Tag: dnsdist-2.0.0-alpha1~185^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad395b532e4beab5abd90d4ff8aaabeffc47cec4;p=thirdparty%2Fpdns.git sdig: boost > std optional Signed-off-by: Rosen Penev --- diff --git a/pdns/sdig.cc b/pdns/sdig.cc index 72483aa8e1..39e8f08d50 100644 --- a/pdns/sdig.cc +++ b/pdns/sdig.cc @@ -56,7 +56,7 @@ static const string nameForClass(QClass qclass, uint16_t qtype) static std::unordered_set s_expectedIDs; static void fillPacket(vector& packet, const string& q, const string& t, - bool dnssec, const boost::optional& ednsnm, + bool dnssec, const std::optional& ednsnm, bool recurse, QClass qclass, uint8_t opcode, uint16_t qid) { DNSPacketWriter pw(packet, DNSName(q), DNSRecordContent::TypeToNumber(t), qclass, opcode); @@ -203,7 +203,7 @@ try { bool fastOpen = false; bool insecureDoT = false; bool fromstdin = false; - boost::optional ednsnm; + std::optional ednsnm; QClass qclass = QClass::IN; uint8_t opcode = 0; string proxyheader;