summaryrefslogtreecommitdiff
path: root/src/KingSystem/Utils/Thread/TaskQueueBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/Utils/Thread/TaskQueueBase.h')
-rw-r--r--src/KingSystem/Utils/Thread/TaskQueueBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Utils/Thread/TaskQueueBase.h b/src/KingSystem/Utils/Thread/TaskQueueBase.h
index 3d4b44cf..bdc7503f 100644
--- a/src/KingSystem/Utils/Thread/TaskQueueBase.h
+++ b/src/KingSystem/Utils/Thread/TaskQueueBase.h
@@ -88,7 +88,7 @@ public:
void fetchTask(Task** out_task);
protected:
- enum class Flag {
+ enum class Flag : u8 {
Lock = 0x1,
PreventThreadPoolChanges = 0x2,
};
@@ -145,7 +145,7 @@ protected:
void notifyThreadsForNewTasks();
- sead::TypedBitFlag<Flag, u8> mFlags;
+ sead::TypedBitFlag<Flag> mFlags;
sead::OffsetList<Task> mActiveTasks;
sead::Buffer<Lane> mLanes;
Event mQueueEmptyEvent;