From e371d41688b072e651f621cec29e1abc8823ff4c Mon Sep 17 00:00:00 2001 From: amzn-sj Date: Tue, 25 May 2021 10:21:53 -0700 Subject: [PATCH] Revert change that caused a seg-fault --- Code/Framework/Tests/FrameworkApplicationFixture.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Code/Framework/Tests/FrameworkApplicationFixture.h b/Code/Framework/Tests/FrameworkApplicationFixture.h index 8524964b5c..c2fea389e0 100644 --- a/Code/Framework/Tests/FrameworkApplicationFixture.h +++ b/Code/Framework/Tests/FrameworkApplicationFixture.h @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -55,13 +54,7 @@ namespace UnitTest }; void SetUp() override - { - AZ::SettingsRegistryInterface* registry = AZ::SettingsRegistry::Get(); - auto projectPathKey = - AZ::SettingsRegistryInterface::FixedValueString(AZ::SettingsRegistryMergeUtils::BootstrapSettingsRootKey) + "/project_path"; - registry->Set(projectPathKey, "AutomatedTesting"); - AZ::SettingsRegistryMergeUtils::MergeSettingsToRegistry_AddRuntimeFilePaths(*registry); - + { m_appDescriptor.m_allocationRecords = true; m_appDescriptor.m_allocationRecordsSaveNames = true; m_appDescriptor.m_recordingMode = AZ::Debug::AllocationRecords::Mode::RECORD_FULL;