Commit 2205f81d authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2432] Add virtual destructor

parent a9c8b8f3
......@@ -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
......
......@@ -53,6 +53,9 @@ public:
const isc::dns::RRClass& rrclass)
const = 0;
/// \brief Destructor
virtual ~RRsetCollectionBase() {}
protected:
class Iter; // forward declaration
typedef boost::shared_ptr<Iter> IterPtr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment