diff --git a/scope_guard.hpp b/scope_guard.hpp index 47712cb..501f0ba 100644 --- a/scope_guard.hpp +++ b/scope_guard.hpp @@ -149,7 +149,7 @@ noexcept(std::is_nothrow_constructible::value) //////////////////////////////////////////////////////////////////////////////// template -sg::detail::scope_guard::~scope_guard() noexcept +sg::detail::scope_guard::~scope_guard() noexcept { if(m_active) m_callback();