mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 12:56:27 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public:
|
|||
FileType type = FileType::BinaryFile,
|
||||
FileShareFlag flag = FileShareFlag::ShareReadOnly);
|
||||
|
||||
virtual ~IOFile();
|
||||
~IOFile();
|
||||
|
||||
IOFile(IOFile&& other) noexcept;
|
||||
IOFile& operator=(IOFile&& other) noexcept;
|
||||
|
|
Loading…
Reference in a new issue