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().
This commit is contained in:
Lioncash 2019-04-01 18:23:47 -04:00
parent 20cc0b8d3c
commit 4366241739
2 changed files with 2 additions and 2 deletions

View file

@ -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;