BAN: Move placement new to New.h
I have no idea why they were defined in Move.h
This commit is contained in:
parent
805b4096e9
commit
6873244169
|
@ -27,6 +27,3 @@ namespace BAN
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
inline void* operator new(size_t, void* addr) { return addr; }
|
||||
inline void* operator new[](size_t, void* addr) { return addr; }
|
|
@ -16,3 +16,6 @@ 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; }
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <BAN/Assert.h>
|
||||
#include <BAN/Math.h>
|
||||
#include <BAN/Move.h>
|
||||
#include <BAN/New.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue