diff options
author | Muller-Castro <37383316+Muller-Castro@users.noreply.github.com> | 2024-02-15 13:25:58 -0300 |
---|---|---|
committer | Muller-Castro <37383316+Muller-Castro@users.noreply.github.com> | 2024-02-26 15:28:15 -0300 |
commit | 1638c1b28f4b79546864872ef25b3c28f4860b56 (patch) | |
tree | dacb36ef5b2f92dae0ccab7b40afaeeedf432ae5 /editor/connections_dialog.h | |
parent | bb6b06c81343073f10cbbd2af515cf0dac1e6549 (diff) | |
download | redot-engine-1638c1b28f4b79546864872ef25b3c28f4860b56.tar.gz |
Add const lvalue ref to editor/* container parameters
Diffstat (limited to 'editor/connections_dialog.h')
-rw-r--r-- | editor/connections_dialog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/connections_dialog.h b/editor/connections_dialog.h index fb163fbb5f..8aa44dc91d 100644 --- a/editor/connections_dialog.h +++ b/editor/connections_dialog.h @@ -163,7 +163,7 @@ protected: static void _bind_methods(); public: - static StringName generate_method_callback_name(Node *p_source, String p_signal_name, Node *p_target); + static StringName generate_method_callback_name(Node *p_source, const String &p_signal_name, Node *p_target); Node *get_source() const; ConnectionData get_source_connection_data() const; StringName get_signal_name() const; @@ -184,7 +184,7 @@ public: void init(const ConnectionData &p_cd, const PackedStringArray &p_signal_args, bool p_edit = false); - void popup_dialog(const String p_for_signal); + void popup_dialog(const String &p_for_signal); ConnectDialog(); ~ConnectDialog(); }; |