aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-28 01:47:50 -0400
committerLioncash <mathew1800@gmail.com>2021-05-28 01:47:52 -0400
commit6806a893bd148bc376e415643205ee29dedeaed5 (patch)
tree0132d4f66a3b0e10a17283c605fa68fc01889cd3
parent019bc9f6b2a7de85a0684c6f9efd37d1ea3282e4 (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.h2
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;