diff --git a/components/bsa/memorystream.hpp b/components/bsa/memorystream.hpp index 5aae448299..0b7e0da9e2 100644 --- a/components/bsa/memorystream.hpp +++ b/components/bsa/memorystream.hpp @@ -40,7 +40,7 @@ namespace Bsa Memory buffer is freed once the class instance is destroyed. */ -class MemoryInputStream : private std::vector, public virtual Files::MemBuf, public std::istream { +class MemoryInputStream : private std::vector, public Files::MemBuf, public std::istream { public: explicit MemoryInputStream(size_t bufferSize) : std::vector(bufferSize)