aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-11 20:28:08 +0200
committerMax Kellermann <max@duempel.org>2014-10-11 20:28:08 +0200
commit8ed4124184a82176b9645339044e8a448b1c0439 (patch)
tree6866a94590c9f6603c81f8cd1d7f94aae3987ffc /src
parent160242a74fda50c8f4a92b2827bbff3dbddf6dad (diff)
downloadmpd-8ed4124184a82176b9645339044e8a448b1c0439.tar.gz
mpd-8ed4124184a82176b9645339044e8a448b1c0439.tar.xz
mpd-8ed4124184a82176b9645339044e8a448b1c0439.zip
util/DynamicFifoBuffer: make the "Range" type public
Export it from the protected base class. This fixes a build failure on Mac OS X.
Diffstat (limited to 'src')
-rw-r--r--src/util/DynamicFifoBuffer.hxx1
1 files changed, 1 insertions, 0 deletions
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<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) {}