From 1aa228b10b758183a51bb960a6c77930c0e33642 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sun, 27 Sep 2015 17:06:43 +0200 Subject: [PATCH] don't automatically convert between the MOADNSParser and DNSResourceRecord worlds (wasn't happening) --- pdns/dns.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dns.hh b/pdns/dns.hh index 07c0cd98b2..d346f0883c 100644 --- a/pdns/dns.hh +++ b/pdns/dns.hh @@ -74,7 +74,7 @@ class DNSResourceRecord { public: DNSResourceRecord() : last_modified(0), signttl(0), qclass(1), d_place(ANSWER), scopeMask(0), auth(1), disabled(0) {}; - DNSResourceRecord(const struct DNSRecord&); + explicit DNSResourceRecord(const struct DNSRecord&); ~DNSResourceRecord(){}; enum Place : uint8_t {QUESTION=0, ANSWER=1, AUTHORITY=2, ADDITIONAL=3}; //!< Type describing the positioning of a DNSResourceRecord within, say, a DNSPacket -- 2.47.2