util/ReusableArray: add method GetCapacity()
This commit is contained in:
parent
3514fd2433
commit
d842d21be0
@ -66,6 +66,10 @@ public:
|
||||
delete[] buffer;
|
||||
}
|
||||
|
||||
size_t GetCapacity() const {
|
||||
return capacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Free resources allocated by this object. This invalidates
|
||||
* the buffer returned by Get().
|
||||
|
Loading…
Reference in New Issue
Block a user