blob: 969028280b437fd744e5b770b3aafcce5adb1a5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-pdns_dnsparser.hh,v 1.2 2014/12/10 14:50:09 fhajny Exp $
Resolve boost symbol ambiguity.
--- pdns/dnsparser.hh.orig 2014-04-25 09:42:01.000000000 +0000
+++ pdns/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;
}
|