aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);