aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
diff options
context:
space:
mode:
authorMax Horn2009-07-29 21:39:16 +0000
committerMax Horn2009-07-29 21:39:16 +0000
commiteedce48aa39b424c7b93c5f5069fd1be89878bdc (patch)
tree9bc4cf2959a1b00475d9adb716c3943caab6fb85 /common/stream.h
parent6df25f47c3a794eb7d10ecebc7d05cab8552dc9f (diff)
downloadscummvm-rg350-eedce48aa39b424c7b93c5f5069fd1be89878bdc.tar.gz
scummvm-rg350-eedce48aa39b424c7b93c5f5069fd1be89878bdc.tar.bz2
scummvm-rg350-eedce48aa39b424c7b93c5f5069fd1be89878bdc.zip
Removed redundant File::ioFailed() implementation; also turned ReadStream::ioFailed from a virtual into an inline method
svn-id: r42911
Diffstat (limited to 'common/stream.h')
-rw-r--r--common/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stream.h b/common/stream.h
index 80e2978fb9..9b03c20bd2 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -179,7 +179,7 @@ public:
* DEPRECATED
* Default implementation for backward compatibility
*/
- virtual bool ioFailed() { return (eos() || err()); }
+ inline bool ioFailed() { return (eos() || err()); }
/**
* Read an unsigned byte from the stream and return it.