refactor: make memory from zone a reference instead of ptr

This commit is contained in:
Jan
2025-05-02 11:42:17 +01:00
parent 9e940a6f53
commit 8b85cadb77
29 changed files with 78 additions and 78 deletions

View File

@ -5,7 +5,7 @@
ContentLoaderBase::ContentLoaderBase(Zone& zone)
: varXString(nullptr),
m_zone(zone),
m_memory(*zone.GetMemory()),
m_memory(zone.Memory()),
m_stream(nullptr)
{
}
@ -13,7 +13,7 @@ ContentLoaderBase::ContentLoaderBase(Zone& zone)
ContentLoaderBase::ContentLoaderBase(Zone& zone, IZoneInputStream* stream)
: varXString(nullptr),
m_zone(zone),
m_memory(*zone.GetMemory()),
m_memory(zone.Memory()),
m_stream(stream)
{
}