diff --git a/Engine/Source/Runtime/RenderCore/Private/RenderGraphValidation.cpp b/Engine/Source/Runtime/RenderCore/Private/RenderGraphValidation.cpp index 0deb42f26c4c..b6a4b454a83f 100644 --- a/Engine/Source/Runtime/RenderCore/Private/RenderGraphValidation.cpp +++ b/Engine/Source/Runtime/RenderCore/Private/RenderGraphValidation.cpp @@ -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;