util/StaticFifoBuffer: make Shift() public

This commit is contained in:
Max Kellermann 2014-10-19 00:49:08 +02:00
parent a0fae8dacc
commit 063d369672

View File

@ -59,7 +59,6 @@ public:
constexpr
StaticFifoBuffer():head(0), tail(0) {}
protected:
void Shift() {
if (head == 0)
return;
@ -74,7 +73,6 @@ protected:
head = 0;
}
public:
void Clear() {
head = tail = 0;
}