Przeglądaj źródła

Noexcept expression of scope_success corrected.

main
offa 8 lat temu
rodzic
commit
1de76d07ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      include/scope_success.h

+ 1
- 1
include/scope_success.h Wyświetl plik

other.release(); 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 ) ) if( ( m_execute_on_destruction == true ) && ( uncaught_exceptions() <= m_uncaught_on_creation ) )
{ {

Ładowanie…
Anuluj
Zapisz