Luna/libluna/include/luna/PlacementNew.h
apio 77887eed80
All checks were successful
continuous-integration/drone/push Build is passing
luna -> libluna
2023-02-27 15:22:39 +01:00

14 lines
290 B
C

#pragma once
#include <luna/Types.h>
inline void* operator new(usize, void* p) noexcept
{
return p;
}
inline void* operator new[](usize, void* p) noexcept
{
return p;
}
inline void operator delete(void*, void*) noexcept {};
inline void operator delete[](void*, void*) noexcept {};