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

Merge branch 'hotfix/cpp_compatibility' into '5.3'

Removes ranged based for loop initialization for pre cpp20 compatibility

See merge request !94
parents 39c847f7 8bfbbefd
Branches
Tags
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 #446717 canceled
...@@ -94,7 +94,8 @@ void UIntenSelectable::InitDefaultBehaviourReferences() ...@@ -94,7 +94,8 @@ void UIntenSelectable::InitDefaultBehaviourReferences()
{ {
// Scoring // 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)) 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