mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-23 03:05:27 +00:00
[fnd] Update IFile & ISerialisable with bettered virtual dtor.
This commit is contained in:
parent
3716bf0b82
commit
9e86d96b84
|
@ -6,7 +6,7 @@ namespace fnd
|
||||||
class IFile
|
class IFile
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline virtual ~IFile() {}
|
virtual ~IFile() = default;
|
||||||
|
|
||||||
virtual size_t size() = 0;
|
virtual size_t size() = 0;
|
||||||
virtual void seek(size_t offset) = 0;
|
virtual void seek(size_t offset) = 0;
|
||||||
|
|
|
@ -7,6 +7,8 @@ namespace fnd
|
||||||
class ISerialisable
|
class ISerialisable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ISerialisable() = default;
|
||||||
|
|
||||||
// serialise
|
// serialise
|
||||||
virtual void toBytes() = 0;
|
virtual void toBytes() = 0;
|
||||||
// deserialise
|
// deserialise
|
||||||
|
|
Loading…
Reference in a new issue