aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/vfs_offset.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-22 11:32:28 -0700
committerGitHub <noreply@github.com>2018-07-22 11:32:28 -0700
commit5ee4c49c3049497fe1880e7edd722b931c688dee (patch)
treeb19bbe84497f300318b99ceaf2ec2aedf04ac6b5 /src/core/file_sys/vfs_offset.cpp
parent3618a68f93d0f5a795fd9fda84aea530ace4a93c (diff)
parent0081252d317af44b3e810d7f31fdd3fb03b8e23c (diff)
Merge pull request #768 from lioncash/string-view
file_util, vfs: Use std::string_view where applicable
Diffstat (limited to 'src/core/file_sys/vfs_offset.cpp')
-rw-r--r--src/core/file_sys/vfs_offset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_offset.cpp b/src/core/file_sys/vfs_offset.cpp
index 217e02235..a40331cef 100644
--- a/src/core/file_sys/vfs_offset.cpp
+++ b/src/core/file_sys/vfs_offset.cpp
@@ -80,7 +80,7 @@ size_t OffsetVfsFile::WriteBytes(const std::vector<u8>& data, size_t r_offset) {
return file->Write(data.data(), TrimToFit(data.size(), r_offset), offset + r_offset);
}
-bool OffsetVfsFile::Rename(const std::string& name) {
+bool OffsetVfsFile::Rename(std::string_view name) {
return file->Rename(name);
}