The FontStyles are already deleted when deconstructing the family list - the

styles hash table shouldn't try to delete them again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14780 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-11-08 19:04:01 +00:00
parent 68e424c88b
commit 5e4d267b5e
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class HashTable {
HashTable(int32 capacity = 100, float loadFactor = 0.75);
~HashTable();
void MakeEmpty();
void MakeEmpty(bool deleteValues = true);
bool IsEmpty() const { return fCount == 0; }
bool ContainsKey(Hashable& key) const { return _GetHashEntry(key) != NULL; }
int32 CountItems() const { return fCount; }