BAN: Move placement new to its own file and fix includes

This commit is contained in:
2024-01-31 23:55:41 +02:00
parent 139bb5c2a5
commit 4273f43be1
9 changed files with 11 additions and 5 deletions

View File

@@ -16,6 +16,3 @@ namespace BAN
static constexpr void(&deallocator)(void*) = free;
#endif
}
inline void* operator new(size_t, void* addr) { return addr; }
inline void* operator new[](size_t, void* addr) { return addr; }