From 8ed4124184a82176b9645339044e8a448b1c0439 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 11 Oct 2014 20:28:08 +0200 Subject: util/DynamicFifoBuffer: make the "Range" type public Export it from the protected base class. This fixes a build failure on Mac OS X. --- src/util/DynamicFifoBuffer.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/util/DynamicFifoBuffer.hxx b/src/util/DynamicFifoBuffer.hxx index 36384bda6..c1e5d1b94 100644 --- a/src/util/DynamicFifoBuffer.hxx +++ b/src/util/DynamicFifoBuffer.hxx @@ -43,6 +43,7 @@ public: typedef typename ForeignFifoBuffer::size_type size_type; typedef typename ForeignFifoBuffer::pointer_type pointer_type; typedef typename ForeignFifoBuffer::const_pointer_type const_pointer_type; + typedef typename ForeignFifoBuffer::Range Range; explicit DynamicFifoBuffer(size_type _capacity) :ForeignFifoBuffer(new T[_capacity], _capacity) {} -- cgit v1.2.3