Switched to new DoublyLinkedList class.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-02-02 02:19:23 +00:00
parent 50d68edcf4
commit b0f7c84522
2 changed files with 6 additions and 7 deletions
+2 -1
View File
@@ -155,7 +155,8 @@ Menu::~Menu()
// take all remaining items with us
MenuItem *item;
while ((item = fItems.RemoveHead()) != NULL) {
while ((item = fItems.Head()) != NULL) {
fItems.Remove(item);
delete item;
}
}