Skip to content
Snippets Groups Projects
Commit bb632ff7 authored by David Gilbert's avatar David Gilbert :bug: Committed by Kris Tabea Helwig
Browse files

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

parent 39c847f7
No related branches found
No related tags found
4 merge requests!97update refactor branch with latest dev changes,!96style(interaction): fixes clang-formatting error,!95Propagate 5.3 hotfixes into dev branches,!94Removes ranged based for loop initialization for pre cpp20 compatibility
Pipeline #432610 failed
......@@ -94,7 +94,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