@@ -44,9 +44,11 @@ terms of the MIT license. A copy of the license can be found in the file
4444 void operator delete[] (void * p, std::align_val_t al) noexcept { mi_free_aligned (p, static_cast <size_t >(al)); }
4545 void operator delete (void * p, std::size_t n, std::align_val_t al) noexcept { mi_free_size_aligned (p, n, static_cast <size_t >(al)); };
4646 void operator delete[] (void * p, std::size_t n, std::align_val_t al) noexcept { mi_free_size_aligned (p, n, static_cast <size_t >(al)); };
47-
48- void * operator new ( std::size_t n, std::align_val_t al) noexcept (false ) { return mi_new_aligned (n, static_cast <size_t >(al)); }
49- void * operator new []( std::size_t n, std::align_val_t al) noexcept (false ) { return mi_new_aligned (n, static_cast <size_t >(al)); }
47+ void operator delete (void * p, std::align_val_t al, const std::nothrow_t & tag) noexcept { mi_free_aligned (p, static_cast <size_t >(al)); }
48+ void operator delete[] (void * p, std::align_val_t al, const std::nothrow_t & tag) noexcept { mi_free_aligned (p, static_cast <size_t >(al)); }
49+
50+ void * operator new (std::size_t n, std::align_val_t al) noexcept (false ) { return mi_new_aligned (n, static_cast <size_t >(al)); }
51+ void * operator new [](std::size_t n, std::align_val_t al) noexcept (false ) { return mi_new_aligned (n, static_cast <size_t >(al)); }
5052 void * operator new (std::size_t n, std::align_val_t al, const std::nothrow_t &) noexcept { return mi_new_aligned_nothrow (n, static_cast <size_t >(al)); }
5153 void * operator new [](std::size_t n, std::align_val_t al, const std::nothrow_t &) noexcept { return mi_new_aligned_nothrow (n, static_cast <size_t >(al)); }
5254 #endif
0 commit comments