mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add const lvalue ref to container parameters
This commit is contained in:
@@ -1284,7 +1284,7 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||
ClassDB::get_inheriters_from_class("Resource", &resource_names);
|
||||
|
||||
PackedStringArray strippable;
|
||||
for (StringName resource_name : resource_names) {
|
||||
for (const StringName &resource_name : resource_names) {
|
||||
if (ClassDB::has_method(resource_name, "create_placeholder", true)) {
|
||||
strippable.push_back(resource_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user