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