Skip to content

Commit

Permalink
nuttx: fix <new>
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-sps authored and dagar committed Nov 7, 2023
1 parent 77baa7c commit 55fd0bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platforms/nuttx/NuttX/include/cxx/new
Original file line number Diff line number Diff line change
Expand Up @@ -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*) {}
Expand Down

0 comments on commit 55fd0bd

Please sign in to comment.