Fix bug on memorystream

ccache_for_windows
Cédric Mocquillon 3 years ago
parent 7f3058d501
commit fe13fa850e

@ -40,7 +40,7 @@ namespace Bsa
Memory buffer is freed once the class instance is destroyed. 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: public:
explicit MemoryInputStream(size_t bufferSize) explicit MemoryInputStream(size_t bufferSize)
: std::vector<char>(bufferSize) : std::vector<char>(bufferSize)

Loading…
Cancel
Save