summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs_offset.h
diff options
context:
space:
mode:
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;