Commit 52cb425e authored by Max Kellermann's avatar Max Kellermann

util/StaticFifoBuffer: add method GetCapacity()

parent ed3220f3
......@@ -56,6 +56,10 @@ protected:
T data[size];
public:
constexpr size_type GetCapacity() const {
return size;
}
void Shift() {
if (head == 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment