summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actBaseProcJob.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-03-14 17:41:55 +0100
committerLéo Lam <leo@leolam.fr>2021-03-15 01:44:27 +0100
commiteef975f585f4cca8bbba89fc097d91dc620565ff (patch)
treec27d486c1626dd857c5c4a327b33d5fea1e65f16 /src/KingSystem/ActorSystem/actBaseProcJob.h
parent20960b596fdc288ac4f4672bddba06c245987fb1 (diff)
ksys/act: Add more BaseProcMgr functions
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcJob.h')
-rw-r--r--src/KingSystem/ActorSystem/actBaseProcJob.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcJob.h b/src/KingSystem/ActorSystem/actBaseProcJob.h
index 705bbb38..41debba6 100644
--- a/src/KingSystem/ActorSystem/actBaseProcJob.h
+++ b/src/KingSystem/ActorSystem/actBaseProcJob.h
@@ -64,6 +64,9 @@ struct BaseProcJobList {
class BaseProcJobLists {
public:
+ BaseProcJobLists() = default;
+ ~BaseProcJobLists() { ; }
+
void pushJob(BaseProcJobLink& link);
void eraseJob(BaseProcJobLink& link);
sead::TListNode<BaseProc*>* getJobWithTopPriority() const;
@@ -73,7 +76,7 @@ public:
const BaseProcJobList& getList(int idx) const { return mLists[idx]; }
private:
- sead::SafeArray<BaseProcJobList, 8> mLists;
+ sead::SafeArray<BaseProcJobList, 8> mLists{};
};
class BaseProcJob final : public sead::Job {