aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/new.cpp')
-rw-r--r--cores/arduino/new.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/new.cpp b/cores/arduino/new.cpp
index 86a1fa5..fc30cf8 100644
--- a/cores/arduino/new.cpp
+++ b/cores/arduino/new.cpp
@@ -26,7 +26,7 @@ void *operator new[](size_t size) {
return malloc(size);
}
-void * operator new(size_t size, void * ptr) {
+void * operator new(size_t size, void * ptr) noexcept {
(void)size;
return ptr;
}