mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix ScopeGuard move behavior
This commit is contained in:
@@ -37,7 +37,8 @@ namespace vstd
|
|||||||
{}
|
{}
|
||||||
~ScopeGuard()
|
~ScopeGuard()
|
||||||
{
|
{
|
||||||
f();
|
if(fire)
|
||||||
|
f();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user