banan-os/BAN/include/BAN/PlacementNew.h

7 lines
163 B
C

#pragma once
#include <stddef.h>
inline void* operator new(size_t, void* addr) { return addr; }
inline void* operator new[](size_t, void* addr) { return addr; }