diff --git a/source/coral/files.cpp b/source/coral/files.cpp index 141a970..a168f07 100644 --- a/source/coral/files.cpp +++ b/source/coral/files.cpp @@ -107,12 +107,16 @@ export namespace coral { }; struct file_reader : public reader { + virtual ~file_reader() {} + virtual expected seek(u64 offset) = 0; virtual expected tell() = 0; }; - struct file_writer : public writer {}; + struct file_writer : public writer { + virtual ~file_reader() {} + }; /** * Platform-generalized file system interface.