mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 17:37:46 +00:00
Fix for delete operator. (#903)
This commit is contained in:
@@ -40,5 +40,6 @@
|
||||
inline void *operator new(size_t, void *p) throw() { return p; }
|
||||
|
||||
void OT_CDECL operator delete(void *, size_t) throw();
|
||||
void OT_CDECL operator delete(void *) throw();
|
||||
|
||||
#endif // NEW_HPP_
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#include <common/debug.hpp>
|
||||
#include <common/logging.hpp>
|
||||
#include <common/message.hpp>
|
||||
#include <common/new.hpp>
|
||||
#include <net/icmp6.hpp>
|
||||
#include <net/ip6.hpp>
|
||||
#include <net/ip6_address.hpp>
|
||||
|
||||
@@ -67,6 +67,7 @@ otInstance *sInstance = NULL;
|
||||
#endif
|
||||
|
||||
void OT_CDECL operator delete(void *, size_t) throw() { }
|
||||
void OT_CDECL operator delete(void *) throw() { }
|
||||
|
||||
otInstance::otInstance(void) :
|
||||
mReceiveIp6DatagramCallback(NULL),
|
||||
|
||||
Reference in New Issue
Block a user