Use const-ref to iterate over TMap entries to fix compiler error with clang 10 (Merged from CL 14359172).

#rb Brandon.Schaefer
#fyi Michael.Sartain
#jira none
#rnx

[CL 14359227 by Lukas Hermanns in ue5-main branch]
This commit is contained in:
Lukas Hermanns
2020-09-21 16:17:38 -04:00
parent ff3f550201
commit f5a2de0686

View File

@@ -716,7 +716,7 @@ void FRDGBarrierValidation::ValidateBarrierBatchBegin(const FRDGBarrierBatchBegi
}
};
for (const auto Pair : ResourceMap.Textures)
for (const auto& Pair : ResourceMap.Textures)
{
FRDGTextureRef Texture = Pair.Key;