Removed last traces of clearIOFailed. Yay :)

svn-id: r42910
This commit is contained in:
Max Horn 2009-07-29 21:39:00 +00:00
parent d91d68a9ca
commit 6df25f47c3
4 changed files with 2 additions and 13 deletions

View File

@ -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();

View File

@ -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

View File

@ -138,7 +138,7 @@ void ScummEngine_v2::readEnhancedIndexFile() {
_fileHandle->seek(_numScripts * 3, SEEK_CUR);
_numSounds = _fileHandle->readByte();
_fileHandle->clearIOFailed();
_fileHandle->clearErr();
_fileHandle->seek(0, SEEK_SET);
readMAXS(0);

View File

@ -80,7 +80,7 @@ void ScummEngine_v3old::readIndexFile() {
_fileHandle->seek(_numScripts * 3, SEEK_CUR);
_numSounds = _fileHandle->readByte();
_fileHandle->clearIOFailed();
_fileHandle->clearErr();
_fileHandle->seek(0, SEEK_SET);
readMAXS(0);