aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-22 22:17:18 +0200
committerStefan Boberg <[email protected]>2023-05-22 22:17:18 +0200
commitbcadb0bbb9c95e00f1fca73fe7b4754541a61cbf (patch)
tree15697711dac101091544f23c3f9e3b5f55cc0dd5
parentremoved some old test code which is no longer useful (diff)
downloadzen-bcadb0bbb9c95e00f1fca73fe7b4754541a61cbf.tar.xz
zen-bcadb0bbb9c95e00f1fca73fe7b4754541a61cbf.zip
MemoryView::RightChop -> const
-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);