1
This commit is contained in:
2022-07-24 15:58:17 +02:00
parent 1572590c33
commit 3546cba4ea

View File

@ -16,16 +16,15 @@
#include "user/lib/Logger.h"
class BumpAllocator : Allocator {
private:
unsigned char* next;
unsigned int allocations;
NamedLogger log;
public:
BumpAllocator(Allocator& copy) = delete; // Verhindere Kopieren
public:
BumpAllocator() : log("BMP-Alloc") {}; // Allocator() called implicitely in C++
void init() override;