aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-09-22 08:49:14 +0200
committerMax Kellermann <max@duempel.org>2014-09-22 08:49:14 +0200
commitf2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38 (patch)
tree7f78302b620de56a6937fae79615ef3992ccb490 /src
parent90c228abcab2d6b8cd8b80d2ed8f216fdb0bcb7b (diff)
downloadmpd-f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38.tar.gz
mpd-f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38.tar.xz
mpd-f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38.zip
DecoderBuffer: struct to class
Diffstat (limited to '')
-rw-r--r--src/decoder/DecoderBuffer.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/DecoderBuffer.hxx b/src/decoder/DecoderBuffer.hxx
index 4ed6abce3..9cf47d915 100644
--- a/src/decoder/DecoderBuffer.hxx
+++ b/src/decoder/DecoderBuffer.hxx
@@ -34,12 +34,13 @@ class InputStream;
* create a buffer object, and use its high-level methods to fill and
* read it. It will automatically handle shifting the buffer.
*/
-struct DecoderBuffer {
+class DecoderBuffer {
Decoder *const decoder;
InputStream &is;
DynamicFifoBuffer<uint8_t> buffer;
+public:
/**
* Creates a new buffer.
*