mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
This commit is contained in:
committed by
Hielke Morsink
parent
0045aed7f9
commit
958bfbc08a
@@ -79,7 +79,7 @@ namespace OpenRCT2::Scripting
|
||||
_backupPlugin = _execInfo._plugin;
|
||||
_backupIsGameStateMutable = _execInfo._isGameStateMutable;
|
||||
|
||||
_execInfo._plugin = plugin;
|
||||
_execInfo._plugin = std::move(plugin);
|
||||
_execInfo._isGameStateMutable = isGameStateMutable;
|
||||
}
|
||||
PluginScope(const PluginScope&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user