From 88dbee1fa34d788852ee84cbe03655f4b84d84e3 Mon Sep 17 00:00:00 2001 From: axiomlogicnexus Date: Wed, 10 Jun 2026 17:56:52 +0000 Subject: [PATCH] Phase 1: Fix const-correctness in IPCProcessManager::IsProcessRunning - Remove const qualifier from IsProcessRunning to match TMap::Find non-const usage --- .../Private/HyperTwistIPC/HyperTwistIPCProcessManager.cpp | 2 +- .../Public/HyperTwistIPC/HyperTwistIPCProcessManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistIPC/HyperTwistIPCProcessManager.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistIPC/HyperTwistIPCProcessManager.cpp index 0148e42..0f80d72 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistIPC/HyperTwistIPCProcessManager.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistIPC/HyperTwistIPCProcessManager.cpp @@ -206,7 +206,7 @@ bool UHyperTwistIPCProcessManager::TerminateProcess(int32 ProcessId) return true; } -bool UHyperTwistIPCProcessManager::IsProcessRunning(int32 ProcessId) const +bool UHyperTwistIPCProcessManager::IsProcessRunning(int32 ProcessId) { FActiveProcess* Proc = ActiveProcesses.Find(ProcessId); if (!Proc) diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Public/HyperTwistIPC/HyperTwistIPCProcessManager.h b/UnrealHyperTwist/Source/UnrealHyperTwist/Public/HyperTwistIPC/HyperTwistIPCProcessManager.h index d863978..dd8156c 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Public/HyperTwistIPC/HyperTwistIPCProcessManager.h +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Public/HyperTwistIPC/HyperTwistIPCProcessManager.h @@ -78,7 +78,7 @@ public: bool TerminateProcess(int32 ProcessId); UFUNCTION(BlueprintCallable, Category = "HyperTwist|IPC") - bool IsProcessRunning(int32 ProcessId) const; + bool IsProcessRunning(int32 ProcessId); static FString GetSolversDirectory();