Browse Source

Noexcept expression of scope_success corrected.

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

+ 1
- 1
include/scope_success.h View File

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

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

Loading…
Cancel
Save