libaxx: remove a warning

Change-Id: I0d59ee19258e63d92adc870bb068f733adf39376
This commit is contained in:
Romain Goyet
2016-04-25 16:53:34 +02:00
parent 979a728417
commit 4f3a062bb8

View File

@@ -1,9 +1,11 @@
#include <stdlib.h>
// See the C++ standard, section 3.7.4 for those definitions
void * operator new (unsigned int size) {
return malloc(size);
}
void operator delete (void * ptr) {
void operator delete (void * ptr) noexcept {
free(ptr);
}