mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08: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:
parent
019bc9f6b2
commit
6806a893bd
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user