Core/MemoryView: Fix OpenMode
Former-commit-id: 71c88a9583981236650551b8bc0884abc04aeec5
This commit is contained in:
parent
4619099a01
commit
72a6148d1b
|
|
@ -10,7 +10,7 @@
|
||||||
namespace Nz
|
namespace Nz
|
||||||
{
|
{
|
||||||
MemoryView::MemoryView(const void* ptr, UInt64 size) :
|
MemoryView::MemoryView(const void* ptr, UInt64 size) :
|
||||||
Stream(OpenMode_ReadOnly),
|
Stream(StreamOption_None, OpenMode_ReadOnly),
|
||||||
m_ptr(reinterpret_cast<const UInt8*>(ptr)),
|
m_ptr(reinterpret_cast<const UInt8*>(ptr)),
|
||||||
m_pos(0),
|
m_pos(0),
|
||||||
m_size(size)
|
m_size(size)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue