diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-12 18:43:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 18:43:27 -0400 |
| commit | a970709d5dbe83a39c98831f015e15029baa1ab7 (patch) | |
| tree | d3706e0785873f9ce5f4ce632bba5438885d6748 /src/core/file_sys/vfs_offset.h | |
| parent | 424e90f0f5e05fb34cfc728b9e12fbfc66ab2fdf (diff) | |
| parent | b82b09310827f4b94fb42dfe8a0c64c47878c0c7 (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.h | 3 |
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); |
