diff options
| author | 2018-08-08 17:49:57 -0400 | |
|---|---|---|
| committer | 2018-08-08 18:51:52 -0400 | |
| commit | 7353cfc7813c960e7fdb0b33829865c606f98c84 (patch) | |
| tree | 65c5bc3a27c0df3229145afb2552993ba72a46be /src/core/loader/loader.cpp | |
| parent | fsp_srv: Emplace entries first when building index instead of emplacing last (diff) | |
| download | yuzu-7353cfc7813c960e7fdb0b33829865c606f98c84.tar.gz yuzu-7353cfc7813c960e7fdb0b33829865c606f98c84.tar.xz yuzu-7353cfc7813c960e7fdb0b33829865c606f98c84.zip | |
fsp_srv: Use std::string_view's copy() function instead of strncpy()
Given elements inserted into a vector are zeroed out, we can just copy
MAX_LEN - 1 elements and the data will already be properly null
terminated.
Diffstat (limited to 'src/core/loader/loader.cpp')
0 files changed, 0 insertions, 0 deletions