From 6df25f47c3a794eb7d10ecebc7d05cab8552dc9f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 29 Jul 2009 21:39:00 +0000 Subject: Removed last traces of clearIOFailed. Yay :) svn-id: r42910 --- common/file.cpp | 5 ----- common/file.h | 6 ------ 2 files changed, 11 deletions(-) (limited to 'common') diff --git a/common/file.cpp b/common/file.cpp index 7836a7d4a8..69338f32f9 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -124,11 +124,6 @@ bool File::ioFailed() const { return !_handle || (eos() || err()); } -void File::clearIOFailed() { - if (_handle) - _handle->clearErr(); -} - bool File::err() const { assert(_handle); return _handle->err(); diff --git a/common/file.h b/common/file.h index a98d23a96a..892395a184 100644 --- a/common/file.h +++ b/common/file.h @@ -133,12 +133,6 @@ public: */ bool ioFailed() const; - /** - * DEPRECATED: Don't use this unless you are still using ioFailed(). - * Reset the I/O error status. - */ - void clearIOFailed(); - bool err() const; // implement abstract Stream method void clearErr(); // implement abstract Stream method bool eos() const; // implement abstract SeekableReadStream method -- cgit v1.2.3