table: don't use shared_ptr in FIB
refs #3164
Change-Id: I5b5eb47d60f6bf5b6389c32ac840f793767e4334
diff --git a/daemon/table/name-tree.cpp b/daemon/table/name-tree.cpp
index 87d4154..796e701 100644
--- a/daemon/table/name-tree.cpp
+++ b/daemon/table/name-tree.cpp
@@ -244,7 +244,7 @@
NameTree::lookup(const fib::Entry& fibEntry) const
{
shared_ptr<name_tree::Entry> nte = this->getEntry(fibEntry);
- BOOST_ASSERT(nte == nullptr || nte->getFibEntry().get() == &fibEntry);
+ BOOST_ASSERT(nte == nullptr || nte->getFibEntry() == &fibEntry);
return nte;
}