From 97c11577cdf6dab159bc120b3a3e16c479fffd79 Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Thu, 9 Apr 2020 19:32:02 -0700 Subject: Make a default/empty constructor noexcept --- common/almalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/almalloc.h') 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 { } -- cgit v1.2.3