aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/TextInputStream.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input/TextInputStream.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/input/TextInputStream.hxx b/src/input/TextInputStream.hxx
index 873ecdbda..6f39d22cf 100644
--- a/src/input/TextInputStream.hxx
+++ b/src/input/TextInputStream.hxx
@@ -22,8 +22,6 @@
#include "util/StaticFifoBuffer.hxx"
-#include <string>
-
class InputStream;
class TextInputStream {
@@ -46,11 +44,9 @@ public:
/**
* Reads the next line from the stream with newline character stripped.
*
- * @param line a string to put result to
- * @return true if line is read successfully, false on end of file
- * or error
+ * @return a pointer to the line, or nullptr on end-of-file or error
*/
- bool ReadLine(std::string &line);
+ char *ReadLine();
};
#endif