removed iterator hook for replace

This commit is contained in:
Martin Willi
2006-11-02 10:27:05 +00:00
parent 3b62f53fa4
commit 4622f01d87
+1 -1
View File
@@ -305,7 +305,7 @@ static status_t replace(private_iterator_t *this, void **old_item, void *new_ite
} }
if (old_item != NULL) if (old_item != NULL)
{ {
*old_item = this->hook(this->current->value); *old_item = this->current->value;
} }
this->current->value = new_item; this->current->value = new_item;