mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix ScopeGuard move behavior
This commit is contained in:
parent
4d6b88f10d
commit
91ef7cbb4f
@ -37,7 +37,8 @@ namespace vstd
|
||||
{}
|
||||
~ScopeGuard()
|
||||
{
|
||||
f();
|
||||
if(fire)
|
||||
f();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user