Refactor and improve collections code

#3043
This commit is contained in:
Wojtek Figat
2025-01-23 14:44:11 +01:00
parent af416fe0c8
commit f5280eab74
13 changed files with 277 additions and 268 deletions

View File

@@ -582,7 +582,7 @@ bool ScriptsBuilderService::Init()
auto project = Editor::Project;
HashSet<ProjectInfo*> projects;
project->GetAllProjects(projects);
for (auto e : projects)
for (const auto& e : projects)
{
ProjectInfo* project = e.Item;
if (project->Name == TEXT("Flax"))