Skip copying values constructed immediately before returning

This commit is contained in:
Aaron Franke committed 2025-09-26 19:13:58 -07:00
1 parent 9283328fe7
commit 754d49ac81
14 files changed
+35 -60

No files matched your search

+1 -2
View File
@@ -288,8 +288,7 @@ void ScriptEditorDebugger::clear_inspector(bool p_send_msg) {
}
void ScriptEditorDebugger::_remote_object_selected(ObjectID p_id) {
Array arr = { p_id };
emit_signal(SNAME("remote_objects_requested"), arr);
emit_signal(SNAME("remote_objects_requested"), Array{ p_id });
}
void ScriptEditorDebugger::_remote_objects_edited(const String &p_prop, const TypedDictionary<uint64_t, Variant> &p_values, const String &p_field) {