diff options
author | Jack Lloyd <[email protected]> | 2018-09-10 19:19:19 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-10-01 12:53:53 -0400 |
commit | 8eb900731da945d276f723534af09592213ee582 (patch) | |
tree | d080c6fd2ca760796b522d21288b0b4bfc0b6e65 /src/lib/utils/locking_allocator | |
parent | a792728e8941b62761052f5e0d288ba13a016c77 (diff) |
Remove support for Visual C++ 2013
Closes GH #1557
Diffstat (limited to 'src/lib/utils/locking_allocator')
-rw-r--r-- | src/lib/utils/locking_allocator/locking_allocator.cpp | 2 | ||||
-rw-r--r-- | src/lib/utils/locking_allocator/locking_allocator.h | 2 |
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; |