mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 21:53:34 +08:00
nuttx: fix <new>
This commit is contained in:
@@ -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*) {}
|
||||
|
||||
Reference in New Issue
Block a user