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