HaikuDepot/List: added IsEmpty() method
This commit is contained in:
parent
87038da74f
commit
863f0b1979
@ -100,6 +100,11 @@ public:
|
||||
_Resize(0);
|
||||
}
|
||||
|
||||
inline bool IsEmpty() const
|
||||
{
|
||||
return fCount == 0;
|
||||
}
|
||||
|
||||
inline int32 CountItems() const
|
||||
{
|
||||
return fCount;
|
||||
|
Loading…
x
Reference in New Issue
Block a user