From 678c95206cf4cdbdcfd894a2de82261aa8355d36 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 21 Jan 2022 16:23:05 +0100 Subject: [PATCH] dnsdist: Fix ring buffers compilation on older compilers --- pdns/dnsdist-rings.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-rings.hh b/pdns/dnsdist-rings.hh index f1b2f48709..2f66e5689d 100644 --- a/pdns/dnsdist-rings.hh +++ b/pdns/dnsdist-rings.hh @@ -213,7 +213,7 @@ private: d_nbQueryEntries++; } #if defined(DNSDIST_RINGS_WITH_MACADDRESS) - Rings::Query query({requestor, name, when, dh, size, qtype, protocol, "", hasmac}); + Rings::Query query{requestor, name, when, dh, size, qtype, protocol, "", hasmac}; if (hasmac) { memcpy(query.macaddress, macaddress, maclen); } -- 2.47.2