Index: include/optional =================================================================== --- include/optional +++ include/optional @@ -167,7 +167,6 @@ bad_optional_access() : logic_error("bad optional access") {} // Get the key function ~bad_optional_access() into the dylib - _LIBCPP_FUNC_VIS virtual ~bad_optional_access() _NOEXCEPT; }; Index: include/variant =================================================================== --- include/variant +++ include/variant @@ -216,7 +216,7 @@ class _LIBCPP_EXCEPTION_ABI bad_variant_access : public exception { public: - _LIBCPP_FUNC_VIS virtual const char* what() const _NOEXCEPT; + virtual const char* what() const _NOEXCEPT; }; } // namespace std