소스 검색

Formatting.

main
offa 7 년 전
부모
커밋
f8fc803afa
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      include/scope_fail.h
  2. +1
    -1
      include/scope_success.h

+ 1
- 1
include/scope_fail.h 파일 보기

@@ -84,7 +84,7 @@ namespace sr

~scope_fail() 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 ) )
{
m_exitFunction();
}

+ 1
- 1
include/scope_success.h 파일 보기

@@ -79,7 +79,7 @@ namespace sr

~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 ) )
{
m_exitFunction();
}

Loading…
취소
저장