You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add const references detected by clang-tidy
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user