You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UnrealBuildTool: More automated code cleanup
* Use object type rather than var * Remove double newlines * Use pattern matching #rnx #preflight 647780095d23eca37d28a387 [CL 25706751 by joe kirchoff in ue5-main branch]
This commit is contained in:
@@ -463,7 +463,7 @@ namespace UnrealBuildTool
|
||||
if ((!Action.bCanExecuteRemotely || Action.ActionType == ActionType.Link) && Action.PrerequisiteActions.Count > 0)
|
||||
{
|
||||
int LastSortIndex = 0;
|
||||
foreach (var Prereq in Action.PrerequisiteActions)
|
||||
foreach (LinkedAction Prereq in Action.PrerequisiteActions)
|
||||
{
|
||||
LastSortIndex = Math.Max(LastSortIndex, Prereq.SortIndex);
|
||||
}
|
||||
@@ -889,7 +889,7 @@ namespace UnrealBuildTool
|
||||
|
||||
using (GlobalTracer.Instance.BuildSpan("Cache outdated actions based on recursive prerequisites").StartActive())
|
||||
{
|
||||
foreach (var Action in Actions)
|
||||
foreach (LinkedAction Action in Actions)
|
||||
{
|
||||
IsActionOutdatedDueToPrerequisites(Action, OutdatedActions, bIgnoreOutdatedImportLibraries, Logger);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user