From 0117fc415e9c35e9a721c2b4118f106ba9e56b57 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 26 Dec 2011 21:01:34 +0100 Subject: SCUMM: Make SampleBuffer::write non-virtual to silence a g++ warning. No class inherits from SampleBuffer, thus it should be safe to do so. --- engines/scumm/player_apple2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/player_apple2.h b/engines/scumm/player_apple2.h index 9e97ab0c89..d9345a7113 100644 --- a/engines/scumm/player_apple2.h +++ b/engines/scumm/player_apple2.h @@ -103,7 +103,7 @@ public: return _writePos - _readPos; } - virtual uint32 write(const void *dataPtr, uint32 dataSize) { + uint32 write(const void *dataPtr, uint32 dataSize) { ensureFree(dataSize); memcpy(_data + _writePos, dataPtr, dataSize); _writePos += dataSize; -- cgit v1.2.3