aboutsummaryrefslogtreecommitdiffstats
path: root/common/almalloc.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-09 19:32:02 -0700
committerChris Robinson <[email protected]>2020-04-09 19:32:02 -0700
commit97c11577cdf6dab159bc120b3a3e16c479fffd79 (patch)
treea2933d36930a7eae2a1136a38d64d650d6787d99 /common/almalloc.h
parentd67cba99bd97d42e7e52c6dfd7a08c288b1539c0 (diff)
Make a default/empty constructor noexcept
Diffstat (limited to 'common/almalloc.h')
-rw-r--r--common/almalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/almalloc.h b/common/almalloc.h
index 157ca8d6..cfcd4def 100644
--- a/common/almalloc.h
+++ b/common/almalloc.h
@@ -81,7 +81,7 @@ struct allocator {
using other = allocator<U, (alignment<alignof(U))?alignof(U):alignment>;
};
- allocator() = default;
+ allocator() noexcept = default;
template<typename U, std::size_t N>
constexpr allocator(const allocator<U,N>&) noexcept { }