aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/file.cpp5
-rw-r--r--common/file.h6
2 files changed, 0 insertions, 11 deletions
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