Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
87c9372f
Commit
87c9372f
authored
Aug 29, 2012
by
JINMEI Tatuya
Browse files
[2098] cleanup: removed now-unecessary definitions
now that we've rebased on a newer version of master.
parent
a65a2f9e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/treenode_rrset.h
View file @
87c9372f
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment