Remove BOOST_NOEXCEPT

This commit is contained in:
Christian Mazakas committed 2023-09-22 15:40:45 -07:00
1 parent b445ff639d
commit 552224888c
10 files changed
+427 -499

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@ template <typename T> struct A
A() : i(++count) {}
template <class U> A(const A<U>& a) BOOST_NOEXCEPT : i(a.i) {}
template <class U> A(const A<U>& a) noexcept : i(a.i) {}
T* allocate(std::size_t n)
{
@@ -33,7 +33,7 @@ template <typename T> struct A
return (T*)std::calloc(n, sizeof(T));
}
void deallocate(T* p, std::size_t n) BOOST_NOEXCEPT
void deallocate(T* p, std::size_t n) noexcept
{
total_allocation -= n * sizeof(T);
std::free(p);