From f2c28d287a92d3cb1cbdfe92f277dbf6c4e76e38 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Sep 2014 08:49:14 +0200 Subject: DecoderBuffer: struct to class --- src/decoder/DecoderBuffer.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 buffer; +public: /** * Creates a new buffer. * -- cgit v1.2.3