libxx: Add exception specifier to operator delete
CXX: libxx_delete.cxx libxx_delete.cxx:52:6: error: 'operator delete' is missing exception specification 'throw()' [-Werror,-Wmissing-exception-spec] void operator delete(FAR void *ptr) ^ throw() 1 error generated.
This commit is contained in:
parent
6aef245523
commit
4c7bf29e35
|
@ -49,7 +49,7 @@
|
|||
// Name: delete
|
||||
//***************************************************************************
|
||||
|
||||
void operator delete(FAR void *ptr)
|
||||
void operator delete(FAR void *ptr) throw()
|
||||
{
|
||||
lib_free(ptr);
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
// Name: delete[]
|
||||
//***************************************************************************
|
||||
|
||||
void operator delete[](FAR void *ptr)
|
||||
void operator delete[](FAR void *ptr) throw()
|
||||
{
|
||||
lib_free(ptr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue