Browse Source

Noexcept expression of scope_fail corrected.

main
offa 7 years ago
parent
commit
fbf36a533d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/scope_fail.h

+ 1
- 1
include/scope_fail.h View File

@@ -82,7 +82,7 @@ namespace sr
other.release();
}

~scope_fail() noexcept(noexcept(std::declval<EF>()))
~scope_fail() noexcept(true)
{
if( ( m_execute_on_destruction == true ) && ( uncaught_exceptions() > m_uncaught_on_creation ) )
{

Loading…
Cancel
Save