util/StaticFifoBuffer: make Shift() public
This commit is contained in:
parent
a0fae8dacc
commit
063d369672
@ -59,7 +59,6 @@ public:
|
|||||||
constexpr
|
constexpr
|
||||||
StaticFifoBuffer():head(0), tail(0) {}
|
StaticFifoBuffer():head(0), tail(0) {}
|
||||||
|
|
||||||
protected:
|
|
||||||
void Shift() {
|
void Shift() {
|
||||||
if (head == 0)
|
if (head == 0)
|
||||||
return;
|
return;
|
||||||
@ -74,7 +73,6 @@ protected:
|
|||||||
head = 0;
|
head = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
|
||||||
void Clear() {
|
void Clear() {
|
||||||
head = tail = 0;
|
head = tail = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user