diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-02-12 15:07:15 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-02-12 15:10:16 -0500 |
| commit | 9f2c703137661473c7362f9c9d6a9df8bedce862 (patch) | |
| tree | f9074082bddb616bc6f7a0c13fa0e25fd84d90ba /src/core/hle/kernel/address_arbiter.h | |
| parent | 8f8dda2d5bb7d5308e08acdb39cb2087690440f2 (diff) | |
address_arbiter: Simplify GetThreadsWaitingOnAddress()
Simplifies the overall function and also allows for it to become a
const-qualified member function.
Diffstat (limited to 'src/core/hle/kernel/address_arbiter.h')
| -rw-r--r-- | src/core/hle/kernel/address_arbiter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/address_arbiter.h b/src/core/hle/kernel/address_arbiter.h index 386983e54..f958eee5a 100644 --- a/src/core/hle/kernel/address_arbiter.h +++ b/src/core/hle/kernel/address_arbiter.h @@ -86,7 +86,7 @@ private: void RemoveThread(std::shared_ptr<Thread> thread); // Gets the threads waiting on an address. - std::vector<std::shared_ptr<Thread>> GetThreadsWaitingOnAddress(VAddr address); + std::vector<std::shared_ptr<Thread>> GetThreadsWaitingOnAddress(VAddr address) const; /// List of threads waiting for a address arbiter std::unordered_map<VAddr, std::list<std::shared_ptr<Thread>>> arb_threads; |
