From 30e5affa9f8a92fdca36674d69157dbca7f9d4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 10 Jul 2008 12:19:22 +0000 Subject: [PATCH] * Added comment about a missing Remove() variant. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26367 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/util/OpenHashTable.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/headers/private/kernel/util/OpenHashTable.h b/headers/private/kernel/util/OpenHashTable.h index dc5e263beb..9f9f657250 100644 --- a/headers/private/kernel/util/OpenHashTable.h +++ b/headers/private/kernel/util/OpenHashTable.h @@ -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 { int bar; - + HashTableLink otherLink; }; @@ -126,6 +123,8 @@ public: fItemCount++; } + // TODO: a ValueType* Remove(const KeyType& key) method is missing + bool Remove(ValueType *value) { if (!RemoveUnchecked(value))