mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Skip copying values constructed immediately before returning
This commit is contained in:
parent
9283328fe7
commit
754d49ac81
14 changed files with 35 additions and 60 deletions
|
|
@ -73,8 +73,7 @@ bool ServersDebugger::ResourceUsage::deserialize(const Array &p_arr) {
|
|||
}
|
||||
|
||||
Array ServersDebugger::ScriptFunctionSignature::serialize() {
|
||||
Array arr = { name, id };
|
||||
return arr;
|
||||
return Array{ name, id };
|
||||
}
|
||||
|
||||
bool ServersDebugger::ScriptFunctionSignature::deserialize(const Array &p_arr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue