[development] fix for a possible MSVC compiler bug (#6870)

Replaced a variable with the name "interface" to avoid conflict with MSVC keyword

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
Scott Romero
2022-01-13 12:55:36 -08:00
committed by GitHub
parent 79431f5e5f
commit 34d74857f5
@@ -793,9 +793,9 @@ namespace UnitTests
TEST_F(SourceFileRelocatorTest, TestInterface)
{
auto* interface = AZ::Interface<ISourceFileRelocation>::Get();
auto* sourceFileRelocator = AZ::Interface<ISourceFileRelocation>::Get();
ASSERT_NE(interface, nullptr);
ASSERT_NE(sourceFileRelocator, nullptr);
}
TEST_F(SourceFileRelocatorTest, Move_Real_Succeeds)