diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-22 20:32:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-22 20:32:28 +0200 |
commit | 5ee4c49c3049497fe1880e7edd722b931c688dee (patch) | |
tree | b19bbe84497f300318b99ceaf2ec2aedf04ac6b5 /src/core/file_sys/vfs_offset.h | |
parent | Merge pull request #770 from lioncash/construct (diff) | |
parent | vfs: Correct file_p variable usage within InterpretAsDirectory() (diff) | |
download | yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.tar yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.tar.gz yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.tar.bz2 yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.tar.lz yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.tar.xz yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.tar.zst yuzu-5ee4c49c3049497fe1880e7edd722b931c688dee.zip |
Diffstat (limited to 'src/core/file_sys/vfs_offset.h')
-rw-r--r-- | src/core/file_sys/vfs_offset.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_offset.h b/src/core/file_sys/vfs_offset.h index ded4827f5..4f471e3ba 100644 --- a/src/core/file_sys/vfs_offset.h +++ b/src/core/file_sys/vfs_offset.h @@ -4,6 +4,9 @@ #pragma once +#include <memory> +#include <string_view> + #include "core/file_sys/vfs.h" namespace FileSys { @@ -30,7 +33,7 @@ struct OffsetVfsFile : public VfsFile { bool WriteByte(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; + bool Rename(std::string_view name) override; size_t GetOffset() const; |