aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/vfs_offset.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-12 18:43:27 -0400
committerGitHub <noreply@github.com>2018-08-12 18:43:27 -0400
commita970709d5dbe83a39c98831f015e15029baa1ab7 (patch)
treed3706e0785873f9ce5f4ce632bba5438885d6748 /src/core/file_sys/vfs_offset.h
parent424e90f0f5e05fb34cfc728b9e12fbfc66ab2fdf (diff)
parentb82b09310827f4b94fb42dfe8a0c64c47878c0c7 (diff)
Merge pull request #1039 from lioncash/type
vfs: Make type hierarchy objects classes instead of structs
Diffstat (limited to 'src/core/file_sys/vfs_offset.h')
-rw-r--r--src/core/file_sys/vfs_offset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_offset.h b/src/core/file_sys/vfs_offset.h
index 235970dc5..cb92d1570 100644
--- a/src/core/file_sys/vfs_offset.h
+++ b/src/core/file_sys/vfs_offset.h
@@ -15,7 +15,8 @@ namespace FileSys {
// Similar to seeking to an offset.
// If the file is writable, operations that would write past the end of the offset file will expand
// the size of this wrapper.
-struct OffsetVfsFile : public VfsFile {
+class OffsetVfsFile : public VfsFile {
+public:
OffsetVfsFile(std::shared_ptr<VfsFile> file, size_t size, size_t offset = 0,
std::string new_name = "", VirtualDir new_parent = nullptr);