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/plugins/sprite_frames_editor_plugin.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/plugins/sprite_frames_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index a1241ae662..b5ccf907c9 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -1425,7 +1425,7 @@ bool SpriteFramesEditor::can_drop_data_fw(const Point2 &p_point, const Variant & } for (int i = 0; i < files.size(); i++) { - String f = files[i]; + const String &f = files[i]; String ftype = EditorFileSystem::get_singleton()->get_file_type(f); if (!ClassDB::is_parent_class(ftype, "Texture2D")) { |