diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-12-31 17:34:26 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-12-31 17:34:26 +0000 |
commit | c6aee64c5d7bd5dabd5e1f5770c4f3e0388b5534 (patch) | |
tree | cdb2b7d1a746295e09b395d34e668635e35b0667 /include/optional | |
parent | 04674ef99be8ef54a31b339a1113420345fcdc10 (diff) |
remove some inherited attributes on exceptions
These exception types are marked with `_LIBCPP_EXCEPTION_ABI` which
expands to `__attribute__((__visibility__("default")))` or
`__declspec(dllexport)`. When building for Windows, we would hit an
error:
cannot apply 'dllexport' to a 'dllexport' class
Remove the duplicate annotations as they will be inherited from the
class.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/optional')
-rw-r--r-- | include/optional | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/optional b/include/optional index 735ef479e..b950efd0b 100644 --- a/include/optional +++ b/include/optional @@ -167,7 +167,6 @@ public: 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; }; |