trunk roundhouse kick

This commit is contained in:
Thomas Göttgens
2023-01-21 14:34:29 +01:00
parent 6cf18b7d07
commit 51b2c431d9
234 changed files with 4989 additions and 5101 deletions

View File

@@ -1,8 +1,11 @@
#include "SimpleAllocator.h"
#include "assert.h"
#include "configuration.h"
#include "SimpleAllocator.h"
SimpleAllocator::SimpleAllocator() { reset(); }
SimpleAllocator::SimpleAllocator()
{
reset();
}
void *SimpleAllocator::alloc(size_t size)
{
@@ -14,7 +17,10 @@ void *SimpleAllocator::alloc(size_t size)
return res;
}
void SimpleAllocator::reset() { nextFree = 0; }
void SimpleAllocator::reset()
{
nextFree = 0;
}
void *operator new(size_t size, SimpleAllocator &p)
{