瀏覽代碼

Braces added.

main
offa 7 年之前
父節點
當前提交
48384ec9e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      include/scope_guard_base.h

+ 1
- 1
include/scope_guard_base.h 查看文件

@@ -79,7 +79,7 @@ namespace detail

~scope_guard_base() noexcept(true)
{
if( m_execute_on_destruction == true && this->should_execute() == true )
if( (m_execute_on_destruction == true) && (this->should_execute() == true) )
{
m_exitFunction();
}

Loading…
取消
儲存