Pārlūkot izejas kodu

Braces added.

main
offa pirms 7 gadiem
vecāks
revīzija
48384ec9e8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      include/scope_guard_base.h

+ 1
- 1
include/scope_guard_base.h Parādīt failu

@@ -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();
}

Notiek ielāde…
Atcelt
Saglabāt