summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/global_scheduler_context.h
diff options
context:
space:
mode:
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;
}