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:
parent
be6294af4b
commit
50d68edcf4
|
@ -227,7 +227,7 @@ public:
|
||||||
Iterator(List *list)
|
Iterator(List *list)
|
||||||
: fList(list),
|
: fList(list),
|
||||||
fCurrent(NULL),
|
fCurrent(NULL),
|
||||||
fNext(fList->GetFirst())
|
fNext(fList->First())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,7 +277,7 @@ public:
|
||||||
public:
|
public:
|
||||||
ConstIterator(const List *list)
|
ConstIterator(const List *list)
|
||||||
: fList(list),
|
: fList(list),
|
||||||
fNext(list->GetFirst())
|
fNext(list->First())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -511,7 +511,7 @@ int32
|
||||||
DOUBLY_LINKED_LIST_CLASS_NAME::Size() const
|
DOUBLY_LINKED_LIST_CLASS_NAME::Size() const
|
||||||
{
|
{
|
||||||
int32 count = 0;
|
int32 count = 0;
|
||||||
for (Element* element = GetFirst(); element; element = GetNext(element))
|
for (Element* element = First(); element; element = GetNext(element))
|
||||||
count++;
|
count++;
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue