kernel/thread: Make parameter of GetWaitObjectIndex() const qualified
The pointed to member is never actually modified, so it can be made const.
This commit is contained in:
parent
62860dc0b0
commit
26d0381161
2 changed files with 3 additions and 3 deletions
|
@ -205,7 +205,7 @@ public:
|
|||
* object in the list.
|
||||
* @param object Object to query the index of.
|
||||
*/
|
||||
s32 GetWaitObjectIndex(WaitObject* object) const;
|
||||
s32 GetWaitObjectIndex(const WaitObject* object) const;
|
||||
|
||||
/**
|
||||
* Stops a thread, invalidating it from further use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue