diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-16 11:21:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-16 11:21:42 -0400 |
| commit | 10792dbff6f5567edbb5ca4664728007efba94a7 (patch) | |
| tree | f9224c0af9d0ddcc1e2496b638a6108077fcd198 /src/core/hle/kernel/process.cpp | |
| parent | 81bd8ee328f9a5cb24555b93f3df5e78cd885661 (diff) | |
| parent | f94bf1a29f572e138fcaaa637233ce3c8ccbf099 (diff) | |
Merge pull request #1502 from lioncash/unique
core: Convert shared_ptr instances into unique_ptr instances where applicable for System and Cpu
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index c80b2c5071..073dd5a7d6 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -153,11 +153,11 @@ void Process::PrepareForTermination() { } }; - auto& system = Core::System::GetInstance(); - stop_threads(system.Scheduler(0)->GetThreadList()); - stop_threads(system.Scheduler(1)->GetThreadList()); - stop_threads(system.Scheduler(2)->GetThreadList()); - stop_threads(system.Scheduler(3)->GetThreadList()); + const auto& system = Core::System::GetInstance(); + stop_threads(system.Scheduler(0).GetThreadList()); + stop_threads(system.Scheduler(1).GetThreadList()); + stop_threads(system.Scheduler(2).GetThreadList()); + stop_threads(system.Scheduler(3).GetThreadList()); } /** |
