Skip to content

Commit

Permalink
Merge pull request #10 from luis4a0/fix_dtor_scope
Browse files Browse the repository at this point in the history
Make it work with clang 12.0.5
  • Loading branch information
ricab authored May 16, 2021
2 parents ed77eeb + 85243d7 commit 07f62f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scope_guard.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ noexcept(std::is_nothrow_constructible<Callback, Callback&&>::value)

////////////////////////////////////////////////////////////////////////////////
template<typename Callback>
sg::detail::scope_guard<Callback>::~scope_guard() noexcept
sg::detail::scope_guard<Callback>::~scope_guard<Callback>() noexcept
{
if(m_active)
m_callback();
Expand Down

0 comments on commit 07f62f2

Please # to comment.