applet_resource_user_id isn't actually modified and is just assigned to a member variable, so this doesn't need to be a mutable reference. Similarly, the device name itself isn't modified and is only moved. We pass by value here, since we can still perform the move, but eliminate a sneaky set of calls that can unintentionally destroy the original string. Given how nested the calls are, it's good to get rid of this potential vector for a use-after-move bug. |
||
|---|---|---|
| .. | ||
| arm | ||
| crypto | ||
| debugger | ||
| file_sys | ||
| frontend | ||
| hid | ||
| hle | ||
| internal_network | ||
| loader | ||
| memory | ||
| tools | ||
| CMakeLists.txt | ||
| constants.cpp | ||
| constants.h | ||
| core.cpp | ||
| core.h | ||
| core_timing.cpp | ||
| core_timing.h | ||
| core_timing_util.h | ||
| cpu_manager.cpp | ||
| cpu_manager.h | ||
| device_memory.cpp | ||
| device_memory.h | ||
| hardware_properties.h | ||
| memory.cpp | ||
| memory.h | ||
| perf_stats.cpp | ||
| perf_stats.h | ||
| reporter.cpp | ||
| reporter.h | ||
| telemetry_session.cpp | ||
| telemetry_session.h | ||