@@ -44,9 +44,11 @@ terms of the MIT license. A copy of the license can be found in the file
44
44
void operator delete[] (void * p, std::align_val_t al) noexcept { mi_free_aligned (p, static_cast <size_t >(al)); }
45
45
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)); };
46
46
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)); }
50
52
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)); }
51
53
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)); }
52
54
#endif
0 commit comments