mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +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
|
@ -6,6 +6,8 @@ namespace fnd
|
||||||
class IFile
|
class IFile
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~IFile() = 0;
|
||||||
|
|
||||||
virtual size_t size() = 0;
|
virtual size_t size() = 0;
|
||||||
virtual void seek(size_t offset) = 0;
|
virtual void seek(size_t offset) = 0;
|
||||||
virtual void read(byte_t* out, size_t len) = 0;
|
virtual void read(byte_t* out, size_t len) = 0;
|
||||||
|
|
Loading…
Reference in a new issue