util/StaticFifoBuffer: add method GetCapacity()
This commit is contained in:
parent
ed3220f37f
commit
52cb425e33
@ -56,6 +56,10 @@ protected:
|
||||
T data[size];
|
||||
|
||||
public:
|
||||
constexpr size_type GetCapacity() const {
|
||||
return size;
|
||||
}
|
||||
|
||||
void Shift() {
|
||||
if (head == 0)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user