2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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;