Core/MemoryView: Fix OpenMode

Former-commit-id: 71c88a9583981236650551b8bc0884abc04aeec5
This commit is contained in:
Lynix 2015-11-25 18:20:17 +01:00
parent 4619099a01
commit 72a6148d1b
1 changed files with 1 additions and 1 deletions

View File

@ -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)