Commit 8ed41241 authored by Max Kellermann's avatar Max Kellermann

util/DynamicFifoBuffer: make the "Range" type public

Export it from the protected base class. This fixes a build failure on Mac OS X.
parent 160242a7
...@@ -43,6 +43,7 @@ public: ...@@ -43,6 +43,7 @@ public:
typedef typename ForeignFifoBuffer<T>::size_type size_type; typedef typename ForeignFifoBuffer<T>::size_type size_type;
typedef typename ForeignFifoBuffer<T>::pointer_type pointer_type; typedef typename ForeignFifoBuffer<T>::pointer_type pointer_type;
typedef typename ForeignFifoBuffer<T>::const_pointer_type const_pointer_type; typedef typename ForeignFifoBuffer<T>::const_pointer_type const_pointer_type;
typedef typename ForeignFifoBuffer<T>::Range Range;
explicit DynamicFifoBuffer(size_type _capacity) explicit DynamicFifoBuffer(size_type _capacity)
:ForeignFifoBuffer<T>(new T[_capacity], _capacity) {} :ForeignFifoBuffer<T>(new T[_capacity], _capacity) {}
......
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