mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 19:15:46 +00:00
scheduler: Make HaveReadyThreads() a const member function
This function doesn't modify instance state, so the const qualifier can be added to it.
This commit is contained in:
parent
95ff8e6aac
commit
6082427cbd
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ public:
|
|||
~Scheduler();
|
||||
|
||||
/// Returns whether there are any threads that are ready to run.
|
||||
bool HaveReadyThreads();
|
||||
bool HaveReadyThreads() const;
|
||||
|
||||
/// Reschedules to the next available thread (call after current thread is suspended)
|
||||
void Reschedule();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue