aboutsummaryrefslogtreecommitdiffstats
path: root/src/TextInputStream.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-23 22:08:59 +0200
committerMax Kellermann <max@duempel.org>2013-10-23 23:12:02 +0200
commit93deb844996120b6326345d6d87e803142dd1968 (patch)
treed6c00669efffad1b15fc45e03158d6838a7e5827 /src/TextInputStream.hxx
parentc4d4011c63808a64ca20a4b03fd455a83c23cc33 (diff)
downloadmpd-93deb844996120b6326345d6d87e803142dd1968.tar.gz
mpd-93deb844996120b6326345d6d87e803142dd1968.tar.xz
mpd-93deb844996120b6326345d6d87e803142dd1968.zip
input_stream: rename struct to InputStream
Diffstat (limited to 'src/TextInputStream.hxx')
-rw-r--r--src/TextInputStream.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TextInputStream.hxx b/src/TextInputStream.hxx
index f3d87c90a..8d606d5a9 100644
--- a/src/TextInputStream.hxx
+++ b/src/TextInputStream.hxx
@@ -24,11 +24,11 @@
#include <string>
-struct input_stream;
+struct InputStream;
struct fifo_buffer;
class TextInputStream {
- struct input_stream *is;
+ InputStream &is;
FifoBuffer<char, 4096> buffer;
public:
@@ -38,7 +38,7 @@ public:
*
* @param _is an open #input_stream object
*/
- explicit TextInputStream(struct input_stream *_is)
+ explicit TextInputStream(InputStream &_is)
:is(_is) {}
TextInputStream(const TextInputStream &) = delete;