aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-09-14 14:18:25 +0000
committerWillem Jan Palenstijn2010-09-14 14:18:25 +0000
commit9dfb24851c2a5cf5454dfbf63f085f73b8bd17c0 (patch)
treef33a8a72cb982499c2a4bc719b405e1a28635656
parenta1b16661de7d573c03aeb04d7be093020a3ff4b0 (diff)
downloadscummvm-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.h8
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);