summaryrefslogtreecommitdiffstats
path: root/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp')
-rw-r--r--modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp b/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp
index 08fcdaf771..51642d8503 100644
--- a/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp
+++ b/modules/openxr/editor/openxr_select_interaction_profile_dialog.cpp
@@ -77,7 +77,7 @@ void OpenXRSelectInteractionProfileDialog::open(PackedStringArray p_do_not_inclu
// in with the new
PackedStringArray interaction_profiles = OpenXRInteractionProfileMetadata::get_singleton()->get_interaction_profile_paths();
for (int i = 0; i < interaction_profiles.size(); i++) {
- String path = interaction_profiles[i];
+ const String &path = interaction_profiles[i];
if (!p_do_not_include.has(path)) {
Button *ip_button = memnew(Button);
ip_button->set_flat(true);