summaryrefslogtreecommitdiffstats
path: root/editor/plugins/bone_map_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-08 11:48:34 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-08 11:48:34 +0100
commit91dacb469d3ee942c35f5b73bfee50741ce74766 (patch)
tree8cea2cd8555ee967af3440449750d6ec47ce86d4 /editor/plugins/bone_map_editor_plugin.cpp
parentc8c483cf57a768110fce57e509f9b855e69d34b7 (diff)
parent96a95cb9743e755f10fa6a14895ea099e5ac4c51 (diff)
downloadredot-engine-91dacb469d3ee942c35f5b73bfee50741ce74766.tar.gz
Merge pull request #51156 from Muller-Castro/value2ref
Add const lvalue ref to container parameters
Diffstat (limited to 'editor/plugins/bone_map_editor_plugin.cpp')
-rw-r--r--editor/plugins/bone_map_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/bone_map_editor_plugin.cpp b/editor/plugins/bone_map_editor_plugin.cpp
index 72a53088dc..153f192838 100644
--- a/editor/plugins/bone_map_editor_plugin.cpp
+++ b/editor/plugins/bone_map_editor_plugin.cpp
@@ -95,7 +95,7 @@ void BoneMapperButton::_notification(int p_what) {
}
}
-BoneMapperButton::BoneMapperButton(const StringName p_profile_bone_name, bool p_require, bool p_selected) {
+BoneMapperButton::BoneMapperButton(const StringName &p_profile_bone_name, bool p_require, bool p_selected) {
profile_bone_name = p_profile_bone_name;
require = p_require;
selected = p_selected;