1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Fix bug on memorystream

This commit is contained in:
Cédric Mocquillon 2022-02-26 14:30:06 +01:00
parent 7f3058d501
commit fe13fa850e

View file

@ -40,7 +40,7 @@ namespace Bsa
Memory buffer is freed once the class instance is destroyed.
*/
class MemoryInputStream : private std::vector<char>, public virtual Files::MemBuf, public std::istream {
class MemoryInputStream : private std::vector<char>, public Files::MemBuf, public std::istream {
public:
explicit MemoryInputStream(size_t bufferSize)
: std::vector<char>(bufferSize)