util/StaticFifoBuffer: add method GetCapacity()

This commit is contained in:
Max Kellermann 2017-04-24 20:18:44 +02:00
parent ed3220f37f
commit 52cb425e33

View File

@ -56,6 +56,10 @@ protected:
T data[size];
public:
constexpr size_type GetCapacity() const {
return size;
}
void Shift() {
if (head == 0)
return;