diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-04-01 18:23:47 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-04-01 18:23:50 -0400 |
| commit | 436624173916c2aea8d0ea0e83bebb299da281b2 (patch) | |
| tree | c1b15cbe83d80e1dc17980431754a7b9ff2c24f0 /src/core/hle/kernel/thread.h | |
| parent | 20cc0b8d3cd46dfc8eed7689f93b6d41f320c709 (diff) | |
kernel/thread: Make AllWaitObjectsReady() a const qualified member function
Now that ShouldWait() is a const qualified member function, this one can
be made const qualified as well, since it can handle passing a const
qualified this pointer to ShouldWait().
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index db563708b..73e5d1bb4 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -299,7 +299,7 @@ public: } /// Determines whether all the objects this thread is waiting on are ready. - bool AllWaitObjectsReady(); + bool AllWaitObjectsReady() const; const MutexWaitingThreads& GetMutexWaitingThreads() const { return wait_mutex_threads; |
