Update node_data::remove to use new equals() method
When the equals() function was moved to be a member of the node class, the call to equals() in node_data::remove() was not updated to match the new implementation.
This commit is contained in:
parent
5de38a76b6
commit
407ff50213
@ -133,7 +133,7 @@ inline bool node_data::remove(const Key& key, shared_memory_holder pMemory) {
|
||||
return false;
|
||||
|
||||
for (node_map::iterator it = m_map.begin(); it != m_map.end(); ++it) {
|
||||
if (equals(*it->first, key, pMemory)) {
|
||||
if (it->first->equals(key, pMemory)) {
|
||||
m_map.erase(it);
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user