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

util/StaticFifoBuffer: make Shift() public

parent a0fae8da
...@@ -59,7 +59,6 @@ public: ...@@ -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: ...@@ -74,7 +73,6 @@ protected:
head = 0; head = 0;
} }
public:
void Clear() { void Clear() {
head = tail = 0; 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