We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3759d03 + 017b8f0 commit 6a46b9cCopy full SHA for 6a46b9c
platform/mbed_retarget.cpp
@@ -1008,6 +1008,16 @@ void *operator new[](std::size_t count)
1008
return buffer;
1009
}
1010
1011
+void *operator new(std::size_t count, const std::nothrow_t& tag)
1012
+{
1013
+ return malloc(count);
1014
+}
1015
+
1016
+void *operator new[](std::size_t count, const std::nothrow_t& tag)
1017
1018
1019
1020
1021
void operator delete(void *ptr)
1022
{
1023
if (ptr != NULL) {
0 commit comments