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:
parent
160242a74f
commit
8ed4124184
@ -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) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user