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