util/DynamicFifoBuffer: make GetCapacity() and Clear() public

This commit is contained in:
Max Kellermann 2014-08-07 19:20:59 +02:00
parent bbea6564fc
commit e88dd9b08b

View File

@ -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