forked from Archive/PX4-Autopilot
nuttx: fix <new>
This commit is contained in:
parent
77baa7c24a
commit
55fd0bde85
|
@ -31,6 +31,8 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
inline void* operator new (std::size_t, void* ptr) { return ptr; }
|
||||
inline void* operator new[](std::size_t, void* ptr) { return ptr; }
|
||||
inline void operator delete (void*, void*) {}
|
||||
|
|
Loading…
Reference in New Issue