pkgsrc/net/powerdns/patches/patch-pdns_dnsparser.hh
2013-05-09 20:06:53 +00:00

25 lines
911 B
C++

$NetBSD: patch-pdns_dnsparser.hh,v 1.1 2013/05/09 20:06:53 joerg Exp $
--- pdns/dnsparser.hh.orig 2013-05-09 15:25:37.000000000 +0000
+++ pdns/dnsparser.hh
@@ -164,7 +164,7 @@ public:
return record;
}
- static shared_ptr<DNSRecordContent> unserialize(const string& qname, uint16_t qtype, const string& serialized);
+ static boost::shared_ptr<DNSRecordContent> unserialize(const string& qname, uint16_t qtype, const string& serialized);
void doRecordCheck(const struct DNSRecord&){}
@@ -291,9 +291,9 @@ public:
//! All answers contained in this packet
answers_t d_answers;
- shared_ptr<PacketReader> getPacketReader(uint16_t offset)
+ boost::shared_ptr<PacketReader> getPacketReader(uint16_t offset)
{
- shared_ptr<PacketReader> pr(new PacketReader(d_content));
+ boost::shared_ptr<PacketReader> pr(new PacketReader(d_content));
pr->d_pos=offset;
return pr;
}