diff --git a/libs/libxx/libxx_delete.cxx b/libs/libxx/libxx_delete.cxx index c57e5d1c2d..3d9edc0cb5 100644 --- a/libs/libxx/libxx_delete.cxx +++ b/libs/libxx/libxx_delete.cxx @@ -49,7 +49,7 @@ // Name: delete //*************************************************************************** -void operator delete(FAR void *ptr) +void operator delete(FAR void *ptr) throw() { lib_free(ptr); } diff --git a/libs/libxx/libxx_deletea.cxx b/libs/libxx/libxx_deletea.cxx index 845d1ac0ab..a092a66c76 100644 --- a/libs/libxx/libxx_deletea.cxx +++ b/libs/libxx/libxx_deletea.cxx @@ -49,7 +49,7 @@ // Name: delete[] //*************************************************************************** -void operator delete[](FAR void *ptr) +void operator delete[](FAR void *ptr) throw() { lib_free(ptr); }