]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Forward declaration of DNSQuestion should be a struct
authorRemi Gacogne <remi.gacogne@powerdns.com>
Sat, 2 Jul 2022 12:20:38 +0000 (14:20 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Sat, 2 Jul 2022 12:20:38 +0000 (14:20 +0200)
pdns/dnsdist-ecs.hh

index f64801ef0a5aae9b42f199e1bb176855cd3ac32b..707b25e4a7ff0613cc180f5842a76dbb50badb36 100644 (file)
@@ -26,7 +26,7 @@
 #include "iputils.hh"
 #include "noinitvector.hh"
 
-class DNSQuestion;
+struct DNSQuestion;
 
 // root label (1), type (2), class (2), ttl (4) + rdlen (2)
 static const size_t optRecordMinimumSize = 11;