diff options
| author | Fernando S <fsahmkow27@gmail.com> | 2024-02-02 15:10:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 15:10:46 +0100 |
| commit | 6baf965777145fd9c76bd06a3c140afa46a50e87 (patch) | |
| tree | 52a9b8ea293bb9b378e7e662b92e9c56d1f87d4c /src/core/hle/service/ro/ro.cpp | |
| parent | 3f86b339f3da7eae1f63b36e4eaa9c18f146d368 (diff) | |
| parent | 35e3c6802832f7396a04603edca9434acc6d3972 (diff) | |
Merge pull request #12857 from liamwhite/const
service: use const references for input raw data
Diffstat (limited to 'src/core/hle/service/ro/ro.cpp')
| -rw-r--r-- | src/core/hle/service/ro/ro.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ro/ro.cpp b/src/core/hle/service/ro/ro.cpp index 51196170a..3d3ad2d62 100644 --- a/src/core/hle/service/ro/ro.cpp +++ b/src/core/hle/service/ro/ro.cpp @@ -549,13 +549,13 @@ public: } Result RegisterProcessHandle(ClientProcessId client_pid, - InCopyHandle<Kernel::KProcess>& process) { + InCopyHandle<Kernel::KProcess> process) { // Register the process. R_RETURN(m_ro->RegisterProcess(std::addressof(m_context_id), process.Get(), *client_pid)); } Result RegisterProcessModuleInfo(ClientProcessId client_pid, u64 nrr_address, u64 nrr_size, - InCopyHandle<Kernel::KProcess>& process) { + InCopyHandle<Kernel::KProcess> process) { // Validate the process. R_TRY(m_ro->ValidateProcess(m_context_id, *client_pid)); |
