Evgeniy Stepanov: Add noexcept to ~bad_optional_access() to silence warning during build.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189949 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/optional.cpp b/src/optional.cpp
index 0805ca5..fde071c 100644
--- a/src/optional.cpp
+++ b/src/optional.cpp
@@ -14,11 +14,11 @@
#ifdef _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
-bad_optional_access::~bad_optional_access() {}
+bad_optional_access::~bad_optional_access() _NOEXCEPT {}
#else
-bad_optional_access::~bad_optional_access() = default;
+bad_optional_access::~bad_optional_access() _NOEXCEPT = default;
#endif