| ~scope_guard_base() noexcept(true) | ~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(); | m_exitFunction(); | ||||
| } | } |