fix build failure

This commit is contained in:
amzn-sean
2021-04-27 14:39:18 +01:00
parent 82fce4a90c
commit 5e50fc2961
2 changed files with 2 additions and 2 deletions
@@ -197,7 +197,7 @@ namespace PhysX
if (colliderNodeConfig)
{
AZStd::vector<AZStd::shared_ptr<Physics::Shape>> shapes;
for (const auto [colliderConfig, shapeConfig] : colliderNodeConfig->m_shapes)
for (const auto& [colliderConfig, shapeConfig] : colliderNodeConfig->m_shapes)
{
if (colliderConfig == nullptr || shapeConfig == nullptr)
{