diff options
author | Max Kellermann <max@duempel.org> | 2014-10-19 00:49:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-19 00:49:08 +0200 |
commit | 063d3696728d110fc07609a934f9aa62e12d9e82 (patch) | |
tree | d6404a76af0dcf9fc3e9d3a34cc95b8a4ba383e9 | |
parent | a0fae8dacc3361374990973e1a9d9e4d8961d360 (diff) | |
download | mpd-063d3696728d110fc07609a934f9aa62e12d9e82.tar.gz mpd-063d3696728d110fc07609a934f9aa62e12d9e82.tar.xz mpd-063d3696728d110fc07609a934f9aa62e12d9e82.zip |
util/StaticFifoBuffer: make Shift() public
-rw-r--r-- | src/util/StaticFifoBuffer.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/StaticFifoBuffer.hxx b/src/util/StaticFifoBuffer.hxx index c1b64bb1e..40668d152 100644 --- a/src/util/StaticFifoBuffer.hxx +++ b/src/util/StaticFifoBuffer.hxx @@ -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; } |