table: NameTree findExactMatch, findLongestPrefixMatch return Entry*
refs #3687
Change-Id: I32752fd711b9641228fbb7f356e72144780cf9ec
diff --git a/daemon/table/fib.hpp b/daemon/table/fib.hpp
index df2bfeb..950f238 100644
--- a/daemon/table/fib.hpp
+++ b/daemon/table/fib.hpp
@@ -48,8 +48,6 @@
explicit
Fib(NameTree& nameTree);
- ~Fib();
-
size_t
size() const;
@@ -150,10 +148,10 @@
private:
const Entry&
- findLongestPrefixMatch(shared_ptr<name_tree::Entry> nte) const;
+ findLongestPrefixMatch(const name_tree::Entry* nte) const;
void
- erase(shared_ptr<name_tree::Entry> nte, bool canDeleteNte = true);
+ erase(name_tree::Entry* nte, bool canDeleteNte = true);
private:
NameTree& m_nameTree;