aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-07 19:20:59 +0200
committerMax Kellermann <max@duempel.org>2014-08-07 19:21:09 +0200
commite88dd9b08b3290b4c2d1728e28b7ab31118490e7 (patch)
tree9815d6ef39b62144f1965d00e8def979b54fcd78
parentbbea6564fc454feb722241c4469ccbd0ce32aa01 (diff)
downloadmpd-e88dd9b08b3290b4c2d1728e28b7ab31118490e7.tar.gz
mpd-e88dd9b08b3290b4c2d1728e28b7ab31118490e7.tar.xz
mpd-e88dd9b08b3290b4c2d1728e28b7ab31118490e7.zip
util/DynamicFifoBuffer: make GetCapacity() and Clear() public
-rw-r--r--src/util/DynamicFifoBuffer.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/DynamicFifoBuffer.hxx b/src/util/DynamicFifoBuffer.hxx
index 91cbbc4c7..36384bda6 100644
--- a/src/util/DynamicFifoBuffer.hxx
+++ b/src/util/DynamicFifoBuffer.hxx
@@ -52,6 +52,8 @@ public:
DynamicFifoBuffer(const DynamicFifoBuffer &) = delete;
+ using ForeignFifoBuffer<T>::GetCapacity;
+ using ForeignFifoBuffer<T>::Clear;
using ForeignFifoBuffer<T>::IsEmpty;
using ForeignFifoBuffer<T>::IsFull;
using ForeignFifoBuffer<T>::GetAvailable;
@@ -103,7 +105,6 @@ public:
protected:
using ForeignFifoBuffer<T>::GetBuffer;
- using ForeignFifoBuffer<T>::GetCapacity;
};
#endif