It's fun to rename functions in templatized code. You only realize, that you missed some, when that specific part is instantiated.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11190 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-02-02 02:12:35 +00:00
parent be6294af4b
commit 50d68edcf4
1 changed files with 3 additions and 3 deletions

View File

@ -227,7 +227,7 @@ public:
Iterator(List *list)
: fList(list),
fCurrent(NULL),
fNext(fList->GetFirst())
fNext(fList->First())
{
}
@ -277,7 +277,7 @@ public:
public:
ConstIterator(const List *list)
: fList(list),
fNext(list->GetFirst())
fNext(list->First())
{
}
@ -511,7 +511,7 @@ int32
DOUBLY_LINKED_LIST_CLASS_NAME::Size() const
{
int32 count = 0;
for (Element* element = GetFirst(); element; element = GetNext(element))
for (Element* element = First(); element; element = GetNext(element))
count++;
return count;
}