Commit e88dd9b0 authored by Max Kellermann's avatar Max Kellermann

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

parent bbea6564
...@@ -52,6 +52,8 @@ public: ...@@ -52,6 +52,8 @@ public:
DynamicFifoBuffer(const DynamicFifoBuffer &) = delete; DynamicFifoBuffer(const DynamicFifoBuffer &) = delete;
using ForeignFifoBuffer<T>::GetCapacity;
using ForeignFifoBuffer<T>::Clear;
using ForeignFifoBuffer<T>::IsEmpty; using ForeignFifoBuffer<T>::IsEmpty;
using ForeignFifoBuffer<T>::IsFull; using ForeignFifoBuffer<T>::IsFull;
using ForeignFifoBuffer<T>::GetAvailable; using ForeignFifoBuffer<T>::GetAvailable;
...@@ -103,7 +105,6 @@ public: ...@@ -103,7 +105,6 @@ public:
protected: protected:
using ForeignFifoBuffer<T>::GetBuffer; using ForeignFifoBuffer<T>::GetBuffer;
using ForeignFifoBuffer<T>::GetCapacity;
}; };
#endif #endif
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