From 41fd7b724ec003064fbca0bfcca56eefb4aafc33 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Thu, 25 Jul 2024 15:32:05 +0200 Subject: [PATCH] Fix test build regression --- Source/Engine/Tests/TestPrefabs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Tests/TestPrefabs.cpp b/Source/Engine/Tests/TestPrefabs.cpp index 02af56a8e..8c6e29249 100644 --- a/Source/Engine/Tests/TestPrefabs.cpp +++ b/Source/Engine/Tests/TestPrefabs.cpp @@ -189,7 +189,7 @@ TEST_CASE("Prefabs") Guid newChildId; Guid::Parse(TEXT("123456a04cc60d56a2f024bfeef57723"), newChildId); auto newChild = EmptyActor::Spawn(ScriptingObject::SpawnParams(newChildId, EmptyActor::TypeInitializer)); - newChild->SetName(TEXT("Prefab B.Child")); + newChild->SetName(String(TEXT("Prefab B.Child"))); newChild->SetParent(instanceB); // Apply nested prefab changes @@ -213,7 +213,7 @@ TEST_CASE("Prefabs") // Add another child Guid::Parse(TEXT("678906a04cc60d56a2f024bfeef57723"), newChildId); newChild = EmptyActor::Spawn(ScriptingObject::SpawnParams(newChildId, EmptyActor::TypeInitializer)); - newChild->SetName(TEXT("Prefab B.Child 2")); + newChild->SetName(String(TEXT("Prefab B.Child 2"))); newChild->SetParent(instanceB); // Apply nested prefab changes