We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d8a3f5 commit a77d3d9Copy full SHA for a77d3d9
libcxx/include/__expected/bad_expected_access.h
@@ -27,6 +27,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
27
template <class _Err>
28
class bad_expected_access;
29
30
+_LIBCPP_DIAGNOSTIC_PUSH
31
+_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wweak-vtables")
32
template <>
33
class bad_expected_access<void> : public exception {
34
protected:
@@ -44,6 +46,7 @@ class bad_expected_access<void> : public exception {
44
46
// it adds deployment target restrictions.
45
47
_LIBCPP_HIDE_FROM_ABI_VIRTUAL const char* what() const noexcept override { return "bad access to std::expected"; }
48
};
49
+_LIBCPP_DIAGNOSTIC_POP
50
51
52
class bad_expected_access : public bad_expected_access<void> {
0 commit comments