* Added comment about a missing Remove() variant.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26367 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-07-10 12:19:22 +00:00
parent b5753dd7c9
commit 30e5affa9f
1 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,6 @@
/*
* Copyright 2007, Hugo Santos. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Hugo Santos, hugosantos@gmail.com
*/
#ifndef _KERNEL_UTIL_OPEN_HASH_TABLE_H
#define _KERNEL_UTIL_OPEN_HASH_TABLE_H
@ -20,7 +17,7 @@
struct Foo : HashTableLink<Foo> {
int bar;
HashTableLink<Foo> otherLink;
};
@ -126,6 +123,8 @@ public:
fItemCount++;
}
// TODO: a ValueType* Remove(const KeyType& key) method is missing
bool Remove(ValueType *value)
{
if (!RemoveUnchecked(value))