table: attach unique_ptr<strategy_choice::Entry> onto NameTree
refs #3164
Change-Id: I5cce7e43dba77cdaaa07347ec7ffca13f242113c
diff --git a/daemon/table/name-tree.cpp b/daemon/table/name-tree.cpp
index 796e701..bc7d7c7 100644
--- a/daemon/table/name-tree.cpp
+++ b/daemon/table/name-tree.cpp
@@ -277,7 +277,7 @@
NameTree::lookup(const strategy_choice::Entry& strategyChoiceEntry) const
{
shared_ptr<name_tree::Entry> nte = this->getEntry(strategyChoiceEntry);
- BOOST_ASSERT(nte == nullptr || nte->getStrategyChoiceEntry().get() == &strategyChoiceEntry);
+ BOOST_ASSERT(nte == nullptr || nte->getStrategyChoiceEntry() == &strategyChoiceEntry);
return nte;
}