a stack doesn't need iteration functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d768457f49
commit
6a3b2694fd
@ -38,14 +38,6 @@ template<class T> class Stack {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GetPointerAt(int32 index, T **value)
|
||||
{
|
||||
if (index < 0 || index >= fUsed)
|
||||
return false;
|
||||
*value = &(fArray[index]);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Pop(T *value)
|
||||
{
|
||||
if (fUsed == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user