diff options
author | Willem Jan Palenstijn | 2010-09-14 14:18:25 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-09-14 14:18:25 +0000 |
commit | 9dfb24851c2a5cf5454dfbf63f085f73b8bd17c0 (patch) | |
tree | f33a8a72cb982499c2a4bc719b405e1a28635656 | |
parent | a1b16661de7d573c03aeb04d7be093020a3ff4b0 (diff) | |
download | scummvm-rg350-9dfb24851c2a5cf5454dfbf63f085f73b8bd17c0.tar.gz scummvm-rg350-9dfb24851c2a5cf5454dfbf63f085f73b8bd17c0.tar.bz2 scummvm-rg350-9dfb24851c2a5cf5454dfbf63f085f73b8bd17c0.zip |
COMMON: Remove dangerous virtual keywords.
See r52722.
svn-id: r52723
-rw-r--r-- | common/stream.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/stream.h b/common/stream.h index 4d673d1539..10cc8c79cd 100644 --- a/common/stream.h +++ b/common/stream.h @@ -497,8 +497,8 @@ protected: bool _eos; // end of stream uint32 _bufSize; uint32 _realBufSize; - virtual void allocBuf(uint32 bufSize); // virtual functions to allocate/deallocate the buffer - virtual void deallocBuf(); + void allocBuf(uint32 bufSize); + void deallocBuf(); public: BufferedReadStream(ReadStream *parentStream, uint32 bufSize, DisposeAfterUse::Flag disposeParentStream = DisposeAfterUse::NO); @@ -538,8 +538,8 @@ protected: uint32 _pos; uint32 _bufSize; bool flushBuffer(); // write out the data in the buffer - virtual void allocBuf(uint32 bufSize); // virtual functions to allocate/deallocate the buffer - virtual void deallocBuf(); + void allocBuf(uint32 bufSize); + void deallocBuf(); public: BufferedWriteStream(WriteStream *parentStream, uint32 bufSize, DisposeAfterUse::Flag disposeParentStream = DisposeAfterUse::NO); |