Browse Source

Braces added.

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

+ 1
- 1
include/scope_guard_base.h View File

@@ -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…
Cancel
Save