From: Ruben d'Arco Date: Sun, 3 Mar 2013 07:02:12 +0000 (+0100) Subject: Remove old/unused code - Guard is never used X-Git-Tag: rec-3.6.0-rc1~556^2~3^2~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49a16105fddd37ec6347547471f206feb3046547;p=thirdparty%2Fpdns.git Remove old/unused code - Guard is never used --- diff --git a/pdns/packethandler.hh b/pdns/packethandler.hh index 1a00c11967..2ac2a19cda 100755 --- a/pdns/packethandler.hh +++ b/pdns/packethandler.hh @@ -54,24 +54,6 @@ class NSEC3PARAMRecordContent; class PacketHandler { public: - template class Guard - { - public: - Guard(T **guard) - { - d_guard=guard; - } - - ~Guard() - { - if(*d_guard) - delete *d_guard; - } - - private: - T **d_guard; - }; - DNSPacket *questionOrRecurse(DNSPacket *, bool* shouldRecurse); //!< hand us a DNS packet with a question, we'll tell you answer, or that you should recurse DNSPacket *question(DNSPacket *); //!< hand us a DNS packet with a question, we give you an answer PacketHandler();