summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/global_scheduler_context.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-07 15:25:12 +0100
committerLiam <byteslice@airmail.cc>2023-03-13 03:09:09 +0100
commit9368e17a92815744ffed8db7a0fd638708426879 (patch)
tree006dfb49277dbb5a899d68b69f9cfd543d349f1a /src/core/hle/kernel/global_scheduler_context.h
parentkernel/svc: convert to new style (diff)
downloadyuzu-9368e17a92815744ffed8db7a0fd638708426879.tar
yuzu-9368e17a92815744ffed8db7a0fd638708426879.tar.gz
yuzu-9368e17a92815744ffed8db7a0fd638708426879.tar.bz2
yuzu-9368e17a92815744ffed8db7a0fd638708426879.tar.lz
yuzu-9368e17a92815744ffed8db7a0fd638708426879.tar.xz
yuzu-9368e17a92815744ffed8db7a0fd638708426879.tar.zst
yuzu-9368e17a92815744ffed8db7a0fd638708426879.zip
Diffstat (limited to 'src/core/hle/kernel/global_scheduler_context.h')
-rw-r--r--src/core/hle/kernel/global_scheduler_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/global_scheduler_context.h b/src/core/hle/kernel/global_scheduler_context.h
index b7fb8caec..c48e8cd12 100644
--- a/src/core/hle/kernel/global_scheduler_context.h
+++ b/src/core/hle/kernel/global_scheduler_context.h
@@ -44,7 +44,7 @@ public:
/// Returns a list of all threads managed by the scheduler
/// This is only safe to iterate while holding the scheduler lock
- [[nodiscard]] const std::vector<KThread*>& GetThreadList() const {
+ const std::vector<KThread*>& GetThreadList() const {
return m_thread_list;
}
@@ -64,7 +64,7 @@ public:
void RegisterDummyThreadForWakeup(KThread* thread);
void WakeupWaitingDummyThreads();
- [[nodiscard]] LockType& SchedulerLock() {
+ LockType& SchedulerLock() {
return m_scheduler_lock;
}