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 194b3f6 commit f17940fCopy full SHA for f17940f
include/nonstd/expected.hpp
@@ -2293,7 +2293,6 @@ class nsel_NODISCARD expected
2293
? ( contained.value() )
2294
: ( error_traits<error_type>::rethrow( contained.error() ), contained.value() );
2295
}
2296
- nsel_RESTORE_MSVC_WARNINGS()
2297
2298
#if !nsel_COMPILER_GNUC_VERSION || nsel_COMPILER_GNUC_VERSION >= 490
2299
@@ -2312,6 +2311,7 @@ class nsel_NODISCARD expected
2312
2311
2313
2314
#endif
+ nsel_RESTORE_MSVC_WARNINGS()
2315
2316
constexpr error_type const & error() const &
2317
{
0 commit comments