diff options
author | Alexander Entinger <consulting@lxrobotics.com> | 2019-09-16 10:17:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-16 10:17:41 +0200 |
commit | 742abcd9660d4b754fede51f098113fca918cb54 (patch) | |
tree | 45b841b2c84f84f0ccdb0f8aed96462b3a232f8d /cores/arduino/new.h | |
parent | ffe7ae05d25f647adb7afa3596d13bf7522158ca (diff) | |
parent | 6a717473175cc7d900fe67bc071f7e7c72f01e29 (diff) |
Merge pull request #33 from Pharap/add-placement-new
Add placement new operator
Diffstat (limited to 'cores/arduino/new.h')
-rw-r--r-- | cores/arduino/new.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/new.h b/cores/arduino/new.h index 6e1b68f..763f5cc 100644 --- a/cores/arduino/new.h +++ b/cores/arduino/new.h @@ -23,6 +23,7 @@ void * operator new(size_t size); void * operator new[](size_t size); +void * operator new(size_t size, void * ptr) noexcept; void operator delete(void * ptr); void operator delete[](void * ptr); |