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:
Lioncash 2019-04-01 17:48:31 -04:00
parent 62860dc0b0
commit 26d0381161
2 changed files with 3 additions and 3 deletions

View file

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