]> granicus.if.org Git - pdns/commitdiff
Fix struct/class mismatch warning reported by apple clang 800.0.38
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Thu, 22 Sep 2016 16:35:02 +0000 (18:35 +0200)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Thu, 22 Sep 2016 16:35:02 +0000 (18:35 +0200)
pdns/misc.hh

index 225d8e981404ce6a798eb4f05e6193524ae0fab9..fa3104d55dd4e60f7c5ae329c31bd5f757162434 100644 (file)
@@ -306,7 +306,7 @@ inline void unixDie(const string &why)
 
 string makeHexDump(const string& str);
 void shuffle(vector<DNSRecord>& rrs);
-class DNSZoneRecord;
+struct DNSZoneRecord;
 void shuffle(vector<DNSZoneRecord>& rrs);
 
 void orderAndShuffle(vector<DNSRecord>& rrs);