diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-04 14:25:33 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-04 14:25:33 +0100 |
commit | 6c390b620d231d5f2febf05bddd758582513fe46 (patch) | |
tree | e117eb6e32b69e0efb3938ec29819e6ccd9ddeae /editor/scene_tree_dock.cpp | |
parent | b66d16fcc9094735cec5259a9714b131fa410594 (diff) | |
parent | a3cb1b096fcecad03562205bd285ebefc816c64a (diff) | |
download | redot-engine-6c390b620d231d5f2febf05bddd758582513fe46.tar.gz |
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
Add const references detected by clang-tidy
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 4e26fbd6cf..3df5adf068 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2949,7 +2949,7 @@ void SceneTreeDock::_files_dropped(Vector<String> p_files, NodePath p_to, int p_ _normalize_drop(node, to_pos, p_type); _perform_instantiate_scenes(p_files, node, to_pos); } else { - String res_path = p_files[0]; + const String &res_path = p_files[0]; StringName res_type = EditorFileSystem::get_singleton()->get_file_type(res_path); List<String> valid_properties; |