diff options
Diffstat (limited to 'src/TextInputStream.hxx')
-rw-r--r-- | src/TextInputStream.hxx | 6 |
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; |