common/fs/file: Devirtualize destructor

IOFile is a final class, so there's no need for a virtual destructor.
This commit is contained in:
Lioncash 2021-05-28 01:47:50 -04:00
parent 019bc9f6b2
commit 6806a893bd

View file

@ -142,7 +142,7 @@ public:
FileType type = FileType::BinaryFile, FileType type = FileType::BinaryFile,
FileShareFlag flag = FileShareFlag::ShareReadOnly); FileShareFlag flag = FileShareFlag::ShareReadOnly);
virtual ~IOFile(); ~IOFile();
IOFile(IOFile&& other) noexcept; IOFile(IOFile&& other) noexcept;
IOFile& operator=(IOFile&& other) noexcept; IOFile& operator=(IOFile&& other) noexcept;