Add deletion functions
This commit is contained in:
parent
6e20e5a610
commit
f154d11626
|
@ -4,3 +4,5 @@
|
|||
|
||||
[[nodiscard]] void* operator new(std::size_t size) { return malloc(size); }
|
||||
[[nodiscard]] void* operator new[](std::size_t size) { return malloc(size); }
|
||||
|
||||
void operator delete(void*, std::size_t) {}
|
||||
|
|
Loading…
Reference in New Issue