Commit 87c9372f authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2098] cleanup: removed now-unecessary definitions

now that we've rebased on a newer version of master.
parent a65a2f9e
......@@ -16,7 +16,6 @@
#define DATASRC_MEMORY_TREENODE_RRSET_H 1
#include <util/buffer.h>
#include <util/memory_segment.h> // CLEAN UP: only for temporary setup
#include <dns/messagerenderer.h>
#include <dns/name.h>
......@@ -36,25 +35,6 @@ namespace isc {
namespace datasrc {
namespace memory {
// Temporary definition: Until we merge #2107 we need the following
class RdataSetDeleter {
public:
RdataSetDeleter() {}
void operator()(util::MemorySegment& mem_sgmt,
RdataSet* rdataset_head) const
{
for (RdataSet* rdataset = rdataset_head;
rdataset != NULL;
rdataset = rdataset->next.get()) {
RdataSet::destroy(mem_sgmt, dns::RRClass::IN(), rdataset);
}
}
};
typedef DomainTree<RdataSet> ZoneTree;
typedef DomainTreeNode<RdataSet> ZoneNode;
// end of temporary definition
class TreeNodeRRset : public dns::AbstractRRset {
public:
TreeNodeRRset(dns::RRClass rrclass, const ZoneNode* node,
......
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