Commit 063d3696 authored by Max Kellermann's avatar Max Kellermann

util/StaticFifoBuffer: make Shift() public

parent a0fae8da
......@@ -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;
}
......
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