util/DynamicFifoBuffer: make the "Range" type public

Export it from the protected base class.  This fixes a build failure
on Mac OS X.
This commit is contained in:
Max Kellermann 2014-10-11 20:28:08 +02:00
parent 160242a74f
commit 8ed4124184
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ public:
typedef typename ForeignFifoBuffer<T>::size_type size_type;
typedef typename ForeignFifoBuffer<T>::pointer_type pointer_type;
typedef typename ForeignFifoBuffer<T>::const_pointer_type const_pointer_type;
typedef typename ForeignFifoBuffer<T>::Range Range;
explicit DynamicFifoBuffer(size_type _capacity)
:ForeignFifoBuffer<T>(new T[_capacity], _capacity) {}