diff options
Diffstat (limited to 'common/stream.h')
-rw-r--r-- | common/stream.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/common/stream.h b/common/stream.h index b691567623..80e2978fb9 100644 --- a/common/stream.h +++ b/common/stream.h @@ -41,19 +41,6 @@ public: virtual ~Stream() {} /** - * DEPRECATED: Use err() or eos() instead. - * Returns true if any I/O failure occurred or the end of the - * stream was reached while reading. - */ - virtual bool ioFailed() const { return err(); } - - /** - * DEPRECATED: Don't use this unless you are still using ioFailed(). - * Reset the I/O error status. - */ - virtual void clearIOFailed() { clearErr(); } - - /** * Returns true if an I/O failure occurred. * This flag is never cleared automatically. In order to clear it, * client code has to call clearErr() explicitly. @@ -405,7 +392,7 @@ public: * Upon successful completion, return a string with the content * of the line, *without* the end of a line marker. This method * does not indicate whether an error occured. Callers must use - * ioFailed() or eos() to determine whether an exception occurred. + * err() or eos() to determine whether an exception occurred. */ virtual String readLine(); }; @@ -509,8 +496,6 @@ public: ~BufferedReadStream(); virtual bool eos() const { return (_pos == _bufSize) && _parentStream->eos(); } - virtual bool ioFailed() const { return _parentStream->ioFailed(); } - virtual void clearIOFailed() { _parentStream->clearIOFailed(); } virtual bool err() const { return _parentStream->err(); } virtual void clearErr() { _parentStream->clearErr(); } |