Pārlūkot izejas kodu

Noexcept expression of scope_success corrected.

main
offa pirms 7 gadiem
vecāks
revīzija
1de76d07ba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      include/scope_success.h

+ 1
- 1
include/scope_success.h Parādīt failu

@@ -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 ) )
{

Notiek ielāde…
Atcelt
Saglabāt