mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user