]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Add virtual destructor for base class Iter
authorJelte Jansen <jelte@isc.org>
Fri, 11 Jan 2013 13:23:42 +0000 (14:23 +0100)
committerJelte Jansen <jelte@isc.org>
Fri, 11 Jan 2013 13:23:42 +0000 (14:23 +0100)
src/lib/dns/rrset_collection_base.h

index 27e46d1266ca7dabb3e17ca931fef55c5e83d565..35a1a9a0818f8990e2d8d6a5ab6c8fb6ee944bb4 100644 (file)
@@ -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;