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,6 +37,7 @@ namespace vstd
|
||||
{}
|
||||
~ScopeGuard()
|
||||
{
|
||||
if(fire)
|
||||
f();
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user