aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zencore/include/zencore/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/include/zencore/memory.h b/src/zencore/include/zencore/memory.h
index 560fa9ffc..9c9a0330e 100644
--- a/src/zencore/include/zencore/memory.h
+++ b/src/zencore/include/zencore/memory.h
@@ -228,7 +228,7 @@ struct MemoryView
m_Data = GetDataAtOffsetNoCheck(Offset);
}
- inline MemoryView RightChop(uint64_t InSize)
+ inline MemoryView RightChop(uint64_t InSize) const
{
MemoryView View(*this);
View.RightChopInline(InSize);