diff --git a/Redcraft.Utility/Source/Private/Testing/TemplatesTesting.cpp b/Redcraft.Utility/Source/Private/Testing/TemplatesTesting.cpp index c9ada7d..0c142a0 100644 --- a/Redcraft.Utility/Source/Private/Testing/TemplatesTesting.cpp +++ b/Redcraft.Utility/Source/Private/Testing/TemplatesTesting.cpp @@ -17,7 +17,7 @@ void TestTemplates() TestReferenceWrapper(); TestOptional(); TestVariant(); - TestOther(); + TestMiscTemplates(); } NAMESPACE_UNNAMED_BEGIN @@ -340,12 +340,12 @@ int32 TestFunctionB(T** Ptr) NAMESPACE_UNNAMED_END -void TestOther() +void TestMiscTemplates() { TTestStructA ObjectA(new int32(3)); always_check(TestFunctionB(&ObjectA) == 1); always_check(TestFunctionB(AddressOf(ObjectA)) == 0); - always_check(AddressOf(TestOther) == &TestOther); + always_check(AddressOf(TestMiscTemplates) == &TestMiscTemplates); } NAMESPACE_MODULE_END(Utility) diff --git a/Redcraft.Utility/Source/Public/Testing/TemplatesTesting.h b/Redcraft.Utility/Source/Public/Testing/TemplatesTesting.h index c6b792d..bcdd1ec 100644 --- a/Redcraft.Utility/Source/Public/Testing/TemplatesTesting.h +++ b/Redcraft.Utility/Source/Public/Testing/TemplatesTesting.h @@ -11,7 +11,7 @@ REDCRAFTUTILITY_API void TestInvoke(); REDCRAFTUTILITY_API void TestReferenceWrapper(); REDCRAFTUTILITY_API void TestOptional(); REDCRAFTUTILITY_API void TestVariant(); -REDCRAFTUTILITY_API void TestOther(); +REDCRAFTUTILITY_API void TestMiscTemplates(); NAMESPACE_MODULE_END(Utility) NAMESPACE_MODULE_END(Redcraft)