COMMON: Attempt to solve diamong class hierarchy in MemoryReadStreamEndian. by athrxx

This commit is contained in:
Eugene Sandulenko 2020-08-22 22:57:52 +02:00
parent 81975911f7
commit 3f6efbb84b

View file

@ -33,7 +33,7 @@ namespace Common {
* Simple memory based 'stream', which implements the ReadStream interface for
* a plain memory block.
*/
class MemoryReadStream : public SeekableReadStream {
class MemoryReadStream : virtual public SeekableReadStream {
private:
const byte * const _ptrOrig;
const byte *_ptr;