[Scummvm-cvs-logs] SF.net SVN: scummvm:[52723] scummvm/trunk/common/stream.h

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Tue Sep 14 16:18:26 CEST 2010


Revision: 52723
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52723&view=rev
Author:   wjpalenstijn
Date:     2010-09-14 14:18:25 +0000 (Tue, 14 Sep 2010)

Log Message:
-----------
COMMON: Remove dangerous virtual keywords.

See r52722.

Modified Paths:
--------------
    scummvm/trunk/common/stream.h

Modified: scummvm/trunk/common/stream.h
===================================================================
--- scummvm/trunk/common/stream.h	2010-09-14 14:00:15 UTC (rev 52722)
+++ scummvm/trunk/common/stream.h	2010-09-14 14:18:25 UTC (rev 52723)
@@ -497,8 +497,8 @@
 	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 @@
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list