From ac634d22e735f8848884644aa5ee0ad88a3ec995 Mon Sep 17 00:00:00 2001 From: Zhire Date: Sun, 1 Feb 2026 20:19:37 -0700 Subject: [PATCH] Resolved Compile issue --- Source/ThisWillWork/MyCustomActorFinder.cpp | 2 +- Source/ThisWillWork/MyCustomActorFinder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ThisWillWork/MyCustomActorFinder.cpp b/Source/ThisWillWork/MyCustomActorFinder.cpp index ef9d3bfb..3d5c5bcb 100644 --- a/Source/ThisWillWork/MyCustomActorFinder.cpp +++ b/Source/ThisWillWork/MyCustomActorFinder.cpp @@ -6,7 +6,7 @@ #include "GameFramework/Actor.h" #include "EngineUtils.h" -AActor* MyCustomActorFinder::FindActorByName(const FString& ActorName) +AActor* AMyCustomActorFinder::FindActorByName(const FString& ActorName) { for (TActorIterator It(GetWorld()); It; ++It) { diff --git a/Source/ThisWillWork/MyCustomActorFinder.h b/Source/ThisWillWork/MyCustomActorFinder.h index d0ee8745..51014899 100644 --- a/Source/ThisWillWork/MyCustomActorFinder.h +++ b/Source/ThisWillWork/MyCustomActorFinder.h @@ -7,7 +7,7 @@ #include "MyCustomActorFinder.generated.h" UCLASS() -class GAMEIDEAV5_5_API AMyCustomActorFinder : public AActor +class THISWILLWORK_API AMyCustomActorFinder : public AActor { GENERATED_BODY()