summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sprite_frames_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-04 14:25:33 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-04 14:25:33 +0100
commit6c390b620d231d5f2febf05bddd758582513fe46 (patch)
treee117eb6e32b69e0efb3938ec29819e6ccd9ddeae /editor/plugins/sprite_frames_editor_plugin.cpp
parentb66d16fcc9094735cec5259a9714b131fa410594 (diff)
parenta3cb1b096fcecad03562205bd285ebefc816c64a (diff)
downloadredot-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.cpp2
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")) {