mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-10 12:59:58 -04:00
Fix bug on memorystream
This commit is contained in:
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…
x
Reference in New Issue
Block a user