forked from Bananymous/banan-os
BAN: move placement new declaration to Move.h
This commit is contained in:
@@ -132,6 +132,3 @@ namespace BAN
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
inline void* operator new(size_t, void* addr) { return addr; }
|
||||
inline void* operator new[](size_t, void* addr) { return addr; }
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <BAN/Traits.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace BAN
|
||||
{
|
||||
|
||||
@@ -25,3 +27,6 @@ namespace BAN
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
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