summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_offset.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-21 03:51:28 +0200
committerLioncash <mathew1800@gmail.com>2018-07-21 03:51:30 +0200
commit894b0de0f2cd15655726ae885b44b030711328a3 (patch)
tree7dda073351a806d63cdf9ad04f08a4a54173bcb8 /src/core/file_sys/vfs_offset.h
parentvfs: Use variable template variants of std::is_trivially_copyable (diff)
downloadyuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar
yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.gz
yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.bz2
yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.lz
yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.xz
yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.zst
yuzu-894b0de0f2cd15655726ae885b44b030711328a3.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/vfs_offset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_offset.h b/src/core/file_sys/vfs_offset.h
index 2e16e47eb..ded4827f5 100644
--- a/src/core/file_sys/vfs_offset.h
+++ b/src/core/file_sys/vfs_offset.h
@@ -28,7 +28,7 @@ struct OffsetVfsFile : public VfsFile {
std::vector<u8> ReadBytes(size_t size, size_t offset) const override;
std::vector<u8> ReadAllBytes() const override;
bool WriteByte(u8 data, size_t offset) override;
- size_t WriteBytes(std::vector<u8> data, size_t offset) override;
+ size_t WriteBytes(const std::vector<u8>& data, size_t offset) override;
bool Rename(const std::string& name) override;