allocator
parent
0ff9513070
commit
b7d69bdcbb
|
@ -451,7 +451,7 @@ namespace blt
|
||||||
back.offset += (back.buffer - new_ptr + sizeof(T));
|
back.offset += (back.buffer - new_ptr + sizeof(T));
|
||||||
back.allocated_objects++;
|
back.allocated_objects++;
|
||||||
}
|
}
|
||||||
return static_cast<T*>(new_ptr);
|
return reinterpret_cast<T*>(new_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue