summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_offset.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-22 07:23:29 +0200
committerLioncash <mathew1800@gmail.com>2018-07-22 09:22:21 +0200
commit398444e67635c158a20301d1a32a1c45bfdd4056 (patch)
treedb638ebe09199ae64b69f5911136effa9756571f /src/core/file_sys/vfs_offset.h
parentMerge pull request #764 from lioncash/move (diff)
downloadyuzu-398444e67635c158a20301d1a32a1c45bfdd4056.tar
yuzu-398444e67635c158a20301d1a32a1c45bfdd4056.tar.gz
yuzu-398444e67635c158a20301d1a32a1c45bfdd4056.tar.bz2
yuzu-398444e67635c158a20301d1a32a1c45bfdd4056.tar.lz
yuzu-398444e67635c158a20301d1a32a1c45bfdd4056.tar.xz
yuzu-398444e67635c158a20301d1a32a1c45bfdd4056.tar.zst
yuzu-398444e67635c158a20301d1a32a1c45bfdd4056.zip
Diffstat (limited to 'src/core/file_sys/vfs_offset.h')
-rw-r--r--src/core/file_sys/vfs_offset.h5
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;