diff --git a/Jupiter/Hash_Table.h b/Jupiter/Hash_Table.h index 0b3af39..5314cc8 100644 --- a/Jupiter/Hash_Table.h +++ b/Jupiter/Hash_Table.h @@ -100,13 +100,6 @@ namespace Jupiter */ template void callback(CallT &in_callback) const; - /** - * @brief Erases all entries from the bucket - * - * @return Number of entries erased - */ - size_t erase(); - /** * @brief Copy assignment operator * diff --git a/Jupiter/Hash_Table_Imp.h b/Jupiter/Hash_Table_Imp.h index 8f3eaab..8823470 100644 --- a/Jupiter/Hash_Table_Imp.h +++ b/Jupiter/Hash_Table_Imp.h @@ -163,15 +163,6 @@ void Jupiter::Hash_Table::Bucket::callbac in_callback(*node->data); } -template -size_t Jupiter::Hash_Table::Bucket::erase() -{ - size_t length = m_entries.size(); - m_entries.eraseAndDelete(); - - return length; -} - template typename Jupiter::Hash_Table::Bucket &Jupiter::Hash_Table::Bucket::operator=(const Bucket &in_bucket) {