1

remove <cstddef> and NULLs (use nullptr)

This commit is contained in:
2022-07-24 00:40:51 +02:00
parent e4469e51b2
commit d9b86355c7
10 changed files with 41 additions and 54 deletions

View File

@ -53,11 +53,11 @@ Allocator::Allocator() : heap_start(HEAP_START), heap_end(HEAP_START + HEAP_SIZE
* Nachfolgend sind die Operatoren von C++, die wir hier ueberschreiben *
* und entsprechend 'mm_alloc' und 'mm_free' aufrufen. *
*****************************************************************************/
void* operator new(size_t size) {
void* operator new(std::size_t size) {
return allocator.alloc(size);
}
void* operator new[](size_t count) {
void* operator new[](std::size_t count) {
return allocator.alloc(count);
}