From bcadb0bbb9c95e00f1fca73fe7b4754541a61cbf Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 22 May 2023 22:17:18 +0200 Subject: MemoryView::RightChop -> const --- src/zencore/include/zencore/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3