forked from Bananymous/banan-os
BAN: Move placement new to its own file and fix includes
This commit is contained in:
4
BAN/include/BAN/PlacementNew.h
Normal file
4
BAN/include/BAN/PlacementNew.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
inline void* operator new(size_t, void* addr) { return addr; }
|
||||
inline void* operator new[](size_t, void* addr) { return addr; }
|
||||
Reference in New Issue
Block a user