fix memory align size
This commit is contained in:
@ -33,8 +33,7 @@
|
|||||||
#ifndef __Allocator_include__
|
#ifndef __Allocator_include__
|
||||||
#define __Allocator_include__
|
#define __Allocator_include__
|
||||||
|
|
||||||
// TODO: Is it 8 or 4?
|
constexpr unsigned int BASIC_ALIGN = 4; // 32 Bit so 4 Bytes?
|
||||||
constexpr unsigned int BASIC_ALIGN = 8;
|
|
||||||
constexpr unsigned int HEAP_MIN_FREE_BLOCK_SIZE = 64; // min. Groesse eines freien Blocks
|
constexpr unsigned int HEAP_MIN_FREE_BLOCK_SIZE = 64; // min. Groesse eines freien Blocks
|
||||||
|
|
||||||
class Allocator {
|
class Allocator {
|
||||||
|
|||||||
Reference in New Issue
Block a user