From: Jelte Jansen Date: Fri, 11 Jan 2013 13:23:42 +0000 (+0100) Subject: [master] Add virtual destructor for base class Iter X-Git-Tag: bind10-1.0.0-rc-release~95^2~13^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5ba8955ec66c1c7af60b85272f03383b256fc0;p=thirdparty%2Fkea.git [master] Add virtual destructor for base class Iter --- diff --git a/src/lib/dns/rrset_collection_base.h b/src/lib/dns/rrset_collection_base.h index 27e46d1266..35a1a9a081 100644 --- a/src/lib/dns/rrset_collection_base.h +++ b/src/lib/dns/rrset_collection_base.h @@ -72,6 +72,8 @@ protected: /// iterator only. class Iter { public: + virtual ~Iter() {}; + /// \brief Returns the \c AbstractRRset currently pointed to by /// the iterator. virtual const isc::dns::AbstractRRset& getValue() = 0;