aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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.
*