nuttx: fix <new>

This commit is contained in:
robbie-sps 2023-11-07 13:40:35 +13:00 committed by Daniel Agar
parent 77baa7c24a
commit 55fd0bde85
1 changed files with 2 additions and 0 deletions

View File

@ -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*) {}