diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-28 01:47:50 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-28 01:47:52 -0400 |
commit | 6806a893bd148bc376e415643205ee29dedeaed5 (patch) | |
tree | 0132d4f66a3b0e10a17283c605fa68fc01889cd3 | |
parent | 019bc9f6b2a7de85a0684c6f9efd37d1ea3282e4 (diff) |
common/fs/file: Devirtualize destructor
IOFile is a final class, so there's no need for a virtual destructor.
-rw-r--r-- | src/common/fs/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fs/file.h b/src/common/fs/file.h index daea935a23..33a8b9d2f3 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -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; |