From 3f6efbb84babc3ef9da80f0cc74f7f9e699b8bda Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 22 Aug 2020 22:57:52 +0200 Subject: [PATCH] COMMON: Attempt to solve diamong class hierarchy in MemoryReadStreamEndian. by athrxx --- common/memstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/memstream.h b/common/memstream.h index f4f0fdc1a4b..9452e4f24ba 100644 --- a/common/memstream.h +++ b/common/memstream.h @@ -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;