aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/mem_pool
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/mem_pool')
-rw-r--r--src/lib/utils/mem_pool/mem_pool.cpp2
-rw-r--r--src/lib/utils/mem_pool/mem_pool.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/mem_pool/mem_pool.cpp b/src/lib/utils/mem_pool/mem_pool.cpp
index e052c10e7..115dbbac0 100644
--- a/src/lib/utils/mem_pool/mem_pool.cpp
+++ b/src/lib/utils/mem_pool/mem_pool.cpp
@@ -136,7 +136,7 @@ void* Memory_Pool::allocate(size_t req)
return nullptr;
}
-bool Memory_Pool::deallocate(void* p, size_t n) BOTAN_NOEXCEPT
+bool Memory_Pool::deallocate(void* p, size_t n) noexcept
{
if(!ptr_in_pool(m_pool, m_pool_size, p, n))
return false;
diff --git a/src/lib/utils/mem_pool/mem_pool.h b/src/lib/utils/mem_pool/mem_pool.h
index 418963864..a2c0008db 100644
--- a/src/lib/utils/mem_pool/mem_pool.h
+++ b/src/lib/utils/mem_pool/mem_pool.h
@@ -36,7 +36,7 @@ class Memory_Pool final
void* allocate(size_t size);
- bool deallocate(void* p, size_t size) BOTAN_NOEXCEPT;
+ bool deallocate(void* p, size_t size) noexcept;
Memory_Pool(const Memory_Pool&) = delete;