Skip to content

Commit 07f62f2

Browse files
authored
Merge pull request #10 from luis4a0/fix_dtor_scope
Make it work with clang 12.0.5
2 parents ed77eeb + 85243d7 commit 07f62f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scope_guard.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ noexcept(std::is_nothrow_constructible<Callback, Callback&&>::value)
149149

150150
////////////////////////////////////////////////////////////////////////////////
151151
template<typename Callback>
152-
sg::detail::scope_guard<Callback>::~scope_guard() noexcept
152+
sg::detail::scope_guard<Callback>::~scope_guard<Callback>() noexcept
153153
{
154154
if(m_active)
155155
m_callback();

0 commit comments

Comments
 (0)