diff options
| author | Léo Lam <leo@leolam.fr> | 2026-09-28 03:39:31 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-06 03:19:39 +0200 |
| commit | 98f0c80f1d0b9d3ca19f0b38efcb597ee65d9dc0 (patch) | |
| tree | c05c560af93ab2944f0f565665bd12b9a8bdd07f /src/KingSystem/Utils/Thread/TaskMgr.h | |
| parent | 6442a24670f69f73aaafb925b625e58aeac8e842 (diff) | |
The task and thread families are plain ksys::
They link in the same block as the plain-ksys:: Message family.
getItemValue and applyScreenFade sit in engine UI TUs, hence ksys::ui.
(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
Diffstat (limited to 'src/KingSystem/Utils/Thread/TaskMgr.h')
| -rw-r--r-- | src/KingSystem/Utils/Thread/TaskMgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/KingSystem/Utils/Thread/TaskMgr.h b/src/KingSystem/Utils/Thread/TaskMgr.h index 4c8fa131..d0bc03eb 100644 --- a/src/KingSystem/Utils/Thread/TaskMgr.h +++ b/src/KingSystem/Utils/Thread/TaskMgr.h @@ -15,7 +15,7 @@ #include "KingSystem/Utils/Thread/ManagedTask.h" #include "KingSystem/Utils/Types.h" -namespace ksys::util { +namespace ksys { class ManagedTaskHandle; class TaskRequest; @@ -93,7 +93,7 @@ protected: template <typename TaskType> void makeTaskType_(ManagedTask** task) { - *task = new TaskType(getCurrentHeap()); + *task = new TaskType(util::getCurrentHeap()); } template <typename TaskType> @@ -114,4 +114,4 @@ protected: }; KSYS_CHECK_SIZE_NX150(TaskMgr, 0x158); -} // namespace ksys::util +} // namespace ksys |
