From b99adb623da5ebf879be5795e9f72127ddb0d543 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 8 Jan 2021 19:23:17 -0800 Subject: Remove the invalid noexcept specification --- common/aloptional.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/aloptional.h') diff --git a/common/aloptional.h b/common/aloptional.h index 0663b7cc..0244c56f 100644 --- a/common/aloptional.h +++ b/common/aloptional.h @@ -67,7 +67,7 @@ class optional { public: using value_type = T; - optional() noexcept = default; + optional() = default; optional(nullopt_t) noexcept { } optional(const optional &rhs) { if(rhs) doConstruct(*rhs); } optional(optional&& rhs) { if(rhs) doConstruct(std::move(*rhs)); } -- cgit v1.2.3