aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/StaticFifoBuffer.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-19 00:49:08 +0200
committerMax Kellermann <max@duempel.org>2014-10-19 00:49:08 +0200
commit063d3696728d110fc07609a934f9aa62e12d9e82 (patch)
treed6404a76af0dcf9fc3e9d3a34cc95b8a4ba383e9 /src/util/StaticFifoBuffer.hxx
parenta0fae8dacc3361374990973e1a9d9e4d8961d360 (diff)
downloadmpd-063d3696728d110fc07609a934f9aa62e12d9e82.tar.gz
mpd-063d3696728d110fc07609a934f9aa62e12d9e82.tar.xz
mpd-063d3696728d110fc07609a934f9aa62e12d9e82.zip
util/StaticFifoBuffer: make Shift() public
Diffstat (limited to '')
-rw-r--r--src/util/StaticFifoBuffer.hxx2
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;
}