You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Skip copying values constructed immediately before returning
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user