mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Merge pull request #1853 from Nordsoft91/fix-scope-guard
Fix ScopeGuard move behavior
This commit is contained in:
commit
c5ca17a324
@ -37,7 +37,8 @@ namespace vstd
|
||||
{}
|
||||
~ScopeGuard()
|
||||
{
|
||||
f();
|
||||
if(fire)
|
||||
f();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user