aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/nca.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-08 17:49:57 -0400
committerLioncash <mathew1800@gmail.com>2018-08-08 18:51:52 -0400
commit4cfe9fad758c17b3a3578aa94e22b62d8895a9e7 (patch)
tree65c5bc3a27c0df3229145afb2552993ba72a46be /src/core/loader/nca.cpp
parenta1320c53af876942fc2a73e29e1f2f9c99ac8ca7 (diff)
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/nca.cpp')
0 files changed, 0 insertions, 0 deletions