throw() is deprecated in C++17
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7000 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cf3859c733
commit
bca384e691
3 changed files with 12 additions and 7 deletions
|
@ -1354,5 +1354,5 @@ void *operator new[](size_t size) NSIS_CXX_THROWSPEC(bad_alloc)
|
|||
{
|
||||
return operator new(size);
|
||||
}
|
||||
void operator delete(void *p) throw() { if (p) free(p); }
|
||||
void operator delete [](void *p) throw() { if (p) free(p); }
|
||||
void operator delete(void *p) NSIS_CXX_NOEXCEPT() { if (p) free(p); }
|
||||
void operator delete [](void *p) NSIS_CXX_NOEXCEPT() { if (p) free(p); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue