mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 13:39:28 +00:00
[fnd] Add pure virtual destructor to IFile to prevent pointers of it being deleted.
This commit is contained in:
parent
1a34e5acd3
commit
d5da5afaae
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ namespace fnd
|
|||
class IFile
|
||||
{
|
||||
public:
|
||||
virtual ~IFile() = 0;
|
||||
|
||||
virtual size_t size() = 0;
|
||||
virtual void seek(size_t offset) = 0;
|
||||
virtual void read(byte_t* out, size_t len) = 0;
|
||||
|
|
Loading…
Reference in a new issue