Add all the files

This commit is contained in:
Exzap 2022-08-22 22:21:23 +02:00
parent e3db07a16a
commit d60742f52b
1445 changed files with 430238 additions and 0 deletions

View file

@ -0,0 +1,25 @@
#include "SysAllocator.h"
void SysAllocatorContainer::Initialize()
{
for (SysAllocatorBase* sysAlloc : m_sysAllocList)
{
sysAlloc->Initialize();
}
}
void SysAllocatorContainer::PushSysAllocator(SysAllocatorBase* base)
{
m_sysAllocList.push_back(base);
}
SysAllocatorContainer& SysAllocatorContainer::GetInstance()
{
static SysAllocatorContainer s_instance;
return s_instance;
}
SysAllocatorBase::SysAllocatorBase()
{
SysAllocatorContainer::GetInstance().PushSysAllocator(this);
}