[ATL] s/throw()/noexcept/ (#5799)

Mechanically replace throw() with noexcept.
This commit is contained in:
Katayama Hirofumi MZ 2023-10-16 15:40:17 +09:00 committed by GitHub
parent fd1e158480
commit d955b9321b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 311 additions and 311 deletions

View file

@ -9,8 +9,8 @@
// would also need to set the option 'WITH_STL'..
// For now we just copy the definition here, under a guard..
#ifndef _NEW
inline void* operator new (size_t size, void* ptr) throw() { return ptr; }
inline void operator delete (void* ptr, void* voidptr2) throw() { }
inline void* operator new (size_t size, void* ptr) noexcept { return ptr; }
inline void operator delete (void* ptr, void* voidptr2) noexcept { }
#endif