summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/rrset_collection.h
diff options
context:
space:
mode:
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