aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/locking_allocator
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/locking_allocator')
-rw-r--r--src/lib/utils/locking_allocator/locking_allocator.cpp2
-rw-r--r--src/lib/utils/locking_allocator/locking_allocator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/locking_allocator/locking_allocator.cpp b/src/lib/utils/locking_allocator/locking_allocator.cpp
index ba301adfb..9d05cfbff 100644
--- a/src/lib/utils/locking_allocator/locking_allocator.cpp
+++ b/src/lib/utils/locking_allocator/locking_allocator.cpp
@@ -23,7 +23,7 @@ void* mlock_allocator::allocate(size_t num_elems, size_t elem_size)
return m_pool->allocate(n);
}
-bool mlock_allocator::deallocate(void* p, size_t num_elems, size_t elem_size) BOTAN_NOEXCEPT
+bool mlock_allocator::deallocate(void* p, size_t num_elems, size_t elem_size) noexcept
{
if(!m_pool)
return false;
diff --git a/src/lib/utils/locking_allocator/locking_allocator.h b/src/lib/utils/locking_allocator/locking_allocator.h
index 1a140f130..7325e79ac 100644
--- a/src/lib/utils/locking_allocator/locking_allocator.h
+++ b/src/lib/utils/locking_allocator/locking_allocator.h
@@ -23,7 +23,7 @@ class BOTAN_PUBLIC_API(2,0) mlock_allocator final
void* allocate(size_t num_elems, size_t elem_size);
- bool deallocate(void* p, size_t num_elems, size_t elem_size) BOTAN_NOEXCEPT;
+ bool deallocate(void* p, size_t num_elems, size_t elem_size) noexcept;
mlock_allocator(const mlock_allocator&) = delete;