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
@@ -270,7 +270,7 @@ class TestAutomation(TestAutomationBase):
self._run_test(request, workspace, editor, test_module)
@pytest.mark.xfail(
reason="Something with the CryRenderer disabling is causeing this test to fail now.")
reason="Something with the CryRenderer disabling is causing this test to fail now.")
@revert_physics_config
def test_C13895144_Ragdoll_ChangeLevel(self, request, workspace, editor, launcher_platform):
from . import C13895144_Ragdoll_ChangeLevel as test_module
@@ -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)
{