aboutsummaryrefslogtreecommitdiffstats
path: root/common/aloptional.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-01-08 19:23:17 -0800
committerChris Robinson <[email protected]>2021-01-08 19:23:17 -0800
commitb99adb623da5ebf879be5795e9f72127ddb0d543 (patch)
tree6bd9b3374d5c855cfa1a0728b83ef401c4982402 /common/aloptional.h
parent89906453ea947da4f67dd42bfd007e6fc3931d56 (diff)
Remove the invalid noexcept specification
Diffstat (limited to 'common/aloptional.h')
-rw-r--r--common/aloptional.h2
1 files changed, 1 insertions, 1 deletions
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)); }