Merge "libaxx: remove a warning"

This commit is contained in:
Romain Goyet
2016-04-25 18:12:24 +02:00
committed by Gerrit

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);
}