aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/file_sys/archive_romfs.h
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2014-07-04 13:25:30 -0400
committerGravatar bunnei <bunneidev@gmail.com>2014-07-04 20:37:50 -0400
commit1099d83455153f9d81b10b54a788bc9fe91f33e9 (patch)
tree1de0dcbcdbdc5339c677e4eb703b44c6f4963508 /src/core/file_sys/archive_romfs.h
parent2d734bb6c5cf1a428f8ce2a6d13955ee4ff872eb (diff)
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
-rw-r--r--src/core/file_sys/archive_romfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index e5664ba1..8a31190a 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -20,13 +20,13 @@ namespace FileSys {
class Archive_RomFS final : public Archive {
public:
Archive_RomFS(const Loader::AppLoader& app_loader);
- ~Archive_RomFS();
+ ~Archive_RomFS() override;
/**
* Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
* @return IdCode of the archive
*/
- IdCode GetIdCode() const { return IdCode::RomFS; };
+ IdCode GetIdCode() const override { return IdCode::RomFS; };
/**
* Read data from the archive
@@ -35,13 +35,13 @@ public:
* @param buffer Buffer to read data into
* @return Number of bytes read
*/
- size_t Read(const u64 offset, const u32 length, u8* buffer) const;
+ size_t Read(const u64 offset, const u32 length, u8* buffer) const override;
/**
* Get the size of the archive in bytes
* @return Size of the archive in bytes
*/
- size_t GetSize() const;
+ size_t GetSize() const override;
private:
std::vector<u8> raw_data;