table: Pit::erase accepts Entry* instead of shared_ptr

refs #3164

Change-Id: I9ff47c80865da42b09870c632707dffd78ed76b9
This commit is contained in:
Junxiao Shi
2016-08-15 02:58:36 +00:00
parent 3248205bb7
commit dbef6dc8e2
8 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ Pit::findAllDataMatches(const Data& data) const
}
void
Pit::erase(shared_ptr<Entry> entry, bool canDeleteNte)
Pit::erase(Entry* entry, bool canDeleteNte)
{
name_tree::Entry* nte = m_nameTree.getEntry(*entry);
BOOST_ASSERT(nte != nullptr);