Skip to content
Snippets Groups Projects
Commit 3c6bce09 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

fix(interaction): Removes ranged based for loop initialization for pre cpp20 compatibility

parent 97f80752
Branches
Tags
2 merge requests!90Draft: Forward propagate dev/5.3 changes into 5.4,!85UE5.3-2023.1-rc3
Pipeline #405382 failed
......@@ -97,7 +97,8 @@ void UIntenSelectable::InitDefaultBehaviourReferences()
{
// Scoring
for (TSet<UActorComponent*> AllComponents = GetOwner()->GetComponents(); UActorComponent * c : AllComponents)
TSet<UActorComponent*> AllComponents = GetOwner()->GetComponents();
for (UActorComponent * c : AllComponents)
{
if (UIntenSelectableScoring* TryToGetScoring = Cast<UIntenSelectableScoring>(c))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment