1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle/service/nvdrv
Lioncash f9951352f6 service/nvdrv: Take std::string in Open() by const reference
Avoids copies from being made, since the string is only ever used for
lookup, the data is never transfered anywhere.

Ideally, we'd use a std::string_view here, but devices is a
std::unordered_map, not a std::map, so we can't use heterogenous lookup
here.
2018-07-25 17:37:43 -04:00
..
devices GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command. 2018-07-21 15:50:02 -05:00
interface.cpp GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command. 2018-07-21 15:50:02 -05:00
interface.h service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
nvdrv.cpp service/nvdrv: Take std::string in Open() by const reference 2018-07-25 17:37:43 -04:00
nvdrv.h service/nvdrv: Take std::string in Open() by const reference 2018-07-25 17:37:43 -04:00
nvmemp.cpp service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
nvmemp.h service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00