Fixed unit test compile error with spawnables

This commit is contained in:
AMZN-koppersr
2021-05-27 16:57:15 -07:00
parent d4ce2849c7
commit c45697fd51
2 changed files with 6 additions and 3 deletions
@@ -34,7 +34,8 @@ namespace Benchmark
{
state.PauseTiming();
auto spawnable = ::AzToolsFramework::Prefab::SpawnableUtils::CreateSpawnable(prefabDom);
AzFramework::Spawnable spawnable;
AzToolsFramework::Prefab::SpawnableUtils::CreateSpawnable(spawnable, prefabDom);
state.ResumeTiming();
}