diff options
author | Max Kellermann <max@duempel.org> | 2014-09-22 08:49:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-22 08:49:14 +0200 |
commit | f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38 (patch) | |
tree | 7f78302b620de56a6937fae79615ef3992ccb490 | |
parent | 90c228abcab2d6b8cd8b80d2ed8f216fdb0bcb7b (diff) | |
download | mpd-f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38.tar.gz mpd-f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38.tar.xz mpd-f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38.zip |
DecoderBuffer: struct to class
-rw-r--r-- | src/decoder/DecoderBuffer.hxx | 3 |
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. * |