diff --git a/lib/libfnd/include/fnd/IFile.h b/lib/libfnd/include/fnd/IFile.h index d992962..e93bbf0 100644 --- a/lib/libfnd/include/fnd/IFile.h +++ b/lib/libfnd/include/fnd/IFile.h @@ -6,7 +6,7 @@ namespace fnd class IFile { public: - inline virtual ~IFile() {} + virtual ~IFile() = default; virtual size_t size() = 0; virtual void seek(size_t offset) = 0; diff --git a/lib/libfnd/include/fnd/ISerialisable.h b/lib/libfnd/include/fnd/ISerialisable.h index a484ea0..b0d49c7 100644 --- a/lib/libfnd/include/fnd/ISerialisable.h +++ b/lib/libfnd/include/fnd/ISerialisable.h @@ -7,6 +7,8 @@ namespace fnd class ISerialisable { public: + virtual ~ISerialisable() = default; + // serialise virtual void toBytes() = 0; // deserialise