util/StaticFifoBuffer: make Shift() public
This commit is contained in:
parent
a0fae8dacc
commit
063d369672
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user