File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1661,12 +1661,12 @@ make_unexpected_from_current_exception() -> unexpected_type< std::exception_ptr
16611661// / x.x.6, x.x.7 expected access error
16621662
16631663template < typename E >
1664- class bad_expected_access ;
1664+ class nsel_NODISCARD bad_expected_access;
16651665
16661666// / x.x.7 bad_expected_access<void>: expected access error
16671667
16681668template <>
1669- class bad_expected_access < void > : public std::exception
1669+ class nsel_NODISCARD bad_expected_access< void > : public std::exception
16701670{
16711671public:
16721672 explicit bad_expected_access ()
@@ -1679,7 +1679,7 @@ class bad_expected_access< void > : public std::exception
16791679#if !nsel_CONFIG_NO_EXCEPTIONS
16801680
16811681template < typename E >
1682- class bad_expected_access : public bad_expected_access < void >
1682+ class nsel_NODISCARD bad_expected_access : public bad_expected_access< void >
16831683{
16841684public:
16851685 using error_type = E;
You can’t perform that action at this time.
0 commit comments