summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-08-05 00:58:56 +0200
committerLéo Lam <leo@leolam.fr>2021-08-05 00:58:56 +0200
commit40530f01adaf75ad885531f2ae3dad9d2dcb86bb (patch)
tree9660536b7e7fbf86e67772a3283611f89bfc8cf1 /src/KingSystem/ActorSystem
parentaf2207632e4a07cc2c16615807521a69d2dad3c4 (diff)
ksys/act: Fix BaseProcJobHandlerT actor pointer type in ctor
Diffstat (limited to 'src/KingSystem/ActorSystem')
-rw-r--r--src/KingSystem/ActorSystem/actBaseProcJobHandler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcJobHandler.h b/src/KingSystem/ActorSystem/actBaseProcJobHandler.h
index 002058a0..c2796680 100644
--- a/src/KingSystem/ActorSystem/actBaseProcJobHandler.h
+++ b/src/KingSystem/ActorSystem/actBaseProcJobHandler.h
@@ -25,8 +25,7 @@ KSYS_CHECK_SIZE_NX150(BaseProcJobHandler, 0x30);
template <typename T>
class BaseProcJobHandlerT : public BaseProcJobHandler {
public:
- BaseProcJobHandlerT(BaseProc* proc, void (T::*fn)())
- : BaseProcJobHandler(proc), mDelegate(proc, fn) {}
+ BaseProcJobHandlerT(T* proc, void (T::*fn)()) : BaseProcJobHandler(proc), mDelegate(proc, fn) {}
void invoke() override { mDelegate.invoke(); }