[libaxx] Support placement new

Change-Id: Ie2e2157cb27e7061c3225dbc01654465ae43e19f
This commit is contained in:
Romain Goyet
2017-05-18 14:14:33 +02:00
parent 739c362ff0
commit 64b31a2974

8
libaxx/include/new Normal file
View File

@@ -0,0 +1,8 @@
#ifndef LIBAXX_NEW
#define LIBAXX_NEW
void * operator new(unsigned int size, void * ptr) noexcept {
return ptr;
}
#endif