]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: make gcc 15.2 happy 16971/head
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 24 Apr 2026 08:18:10 +0000 (10:18 +0200)
committerKees Monshouwer <mind04@monshouwer.org>
Fri, 24 Apr 2026 09:53:17 +0000 (11:53 +0200)
Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
pdns/auth-primarycommunicator.cc

index a2dd9e300051fc4c58490c1a827f6e34f11a9275..3de7cad7acb8d0911e569277a2b899f206711872 100644 (file)
@@ -193,7 +193,7 @@ void CommunicatorClass::getUpdatedProducers(UeberBackend* B, vector<DomainInfo>&
         DNSResourceRecord rr;
         makeIncreasedSOARecord(sd, "EPOCH", "", rr, d_slog);
         di.backend->startTransaction(sd.zonename, UnknownDomainID);
-        if (!di.backend->replaceRRSet(di.id, rr.qname, rr.qtype, vector<DNSResourceRecord>(1, rr))) {
+        if (!di.backend->replaceRRSet(di.id, rr.qname, rr.qtype, {rr})) {
           di.backend->abortTransaction();
           throw PDNSException("backend hosting producer zone '" + sd.zonename.toLogString() + "' does not support editing records");
         }