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 89b274a commit 8c19708Copy full SHA for 8c19708
include/nonstd/scope.hpp
@@ -827,9 +827,12 @@ class scope_success
827
other.release();
828
}
829
830
- scope_constexpr_ext ~scope_success() scope_noexcept_op(
831
- scope_noexcept_op(this->exit_function())
832
- )
+ scope_constexpr_ext ~scope_success()
+#if scope_BETWEEN(scope_COMPILER_GNUC_VERSION, 1, 900) // GCC < 9, issue #12
+ scope_noexcept_op( scope_noexcept_op(exit_function()) )
833
+#else
834
+ scope_noexcept_op( scope_noexcept_op(this->exit_function()) )
835
+#endif
836
{
837
if ( uncaught_on_creation >= detail::uncaught_exceptions() )
838
exit_function();
0 commit comments