offa 8 лет назад
Родитель
Сommit
48384ec9e8
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      include/scope_guard_base.h

+ 1
- 1
include/scope_guard_base.h Просмотреть файл



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

Загрузка…
Отмена
Сохранить