mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
28 lines
926 B
C++
28 lines
926 B
C++
$NetBSD: patch-dnsparser.hh,v 1.2 2015/06/10 14:22:29 fhajny Exp $
|
|
|
|
Straighten Boost namespace.
|
|
|
|
--- dnsparser.hh.orig 2015-04-21 13:02:57.000000000 +0000
|
|
+++ dnsparser.hh
|
|
@@ -183,7 +183,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&){}
|
|
|
|
@@ -327,9 +327,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;
|
|
}
|