RomFSFile: Default constructor

This commit is contained in:
B3n30 2018-07-26 13:10:56 +02:00
parent b1f8c2fe67
commit 123c0886e6
2 changed files with 3 additions and 5 deletions

View file

@ -12,14 +12,14 @@ namespace RomFS {
class RomFSFile {
public:
RomFSFile();
RomFSFile() = default;
RomFSFile(const u8* data, u64 length);
const u8* Data() const;
u64 Length() const;
private:
const u8* data;
u64 length;
const u8* data = nullptr;
u64 length = 0;
};
/**