summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/rrset_collection.h
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@isc.org>2013-01-01 11:18:46 +0100
committerMukund Sivaraman <muks@isc.org>2013-01-01 11:18:46 +0100
commit2205f81d523ba1175614c6a7ee54904b74ea1a43 (patch)
tree4de473de88ce4b36a72dd172ec99c8b15f08514a /src/lib/dns/rrset_collection.h
parent[2432] Untabify (diff)
downloadkea-2205f81d523ba1175614c6a7ee54904b74ea1a43.tar.xz
kea-2205f81d523ba1175614c6a7ee54904b74ea1a43.zip
[2432] Add virtual destructor
Diffstat (limited to 'src/lib/dns/rrset_collection.h')
-rw-r--r--src/lib/dns/rrset_collection.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/dns/rrset_collection.h b/src/lib/dns/rrset_collection.h
index 9cbf98c425..eb84c4969d 100644
--- a/src/lib/dns/rrset_collection.h
+++ b/src/lib/dns/rrset_collection.h
@@ -31,8 +31,7 @@ namespace dns {
class RRsetCollection : public RRsetCollectionBase {
public:
/// \brief Constructor.
- RRsetCollection()
- {}
+ RRsetCollection() {}
/// \brief Constructor.
///
@@ -47,6 +46,9 @@ public:
RRsetCollection(const char* filename, const isc::dns::Name& origin,
const isc::dns::RRClass& rrclass);
+ /// \brief Destructor
+ virtual ~RRsetCollection() {}
+
/// \brief Add an RRset to the collection.
///
/// Does not do any validation whether \c rrset belongs to a