table: NameTree code style corrections
refs #3687
Change-Id: I25cfac1d8b11236c251c2ab717facb82b62dcb10
diff --git a/daemon/table/name-tree-entry.cpp b/daemon/table/name-tree-entry.cpp
index b094e38..c0bc932 100644
--- a/daemon/table/name-tree-entry.cpp
+++ b/daemon/table/name-tree-entry.cpp
@@ -29,8 +29,8 @@
namespace name_tree {
Node::Node()
- : m_prev(0)
- , m_next(0)
+ : m_prev(nullptr)
+ , m_next(nullptr)
{
}
@@ -38,9 +38,9 @@
{
// erase the Name Tree Nodes that were created to
// resolve hash collisions
- // So before erasing a single node, make sure its m_next == 0
+ // So before erasing a single node, make sure its m_next == nullptr
// See eraseEntryIfEmpty in name-tree.cpp
- if (m_next != 0)
+ if (m_next != nullptr)
delete m_next;
}
@@ -50,10 +50,6 @@
{
}
-Entry::~Entry()
-{
-}
-
bool
Entry::isEmpty() const
{