From 6806a893bd148bc376e415643205ee29dedeaed5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 28 May 2021 01:47:50 -0400 Subject: common/fs/file: Devirtualize destructor IOFile is a final class, so there's no need for a virtual destructor. --- src/common/fs/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/fs/file.h b/src/common/fs/file.h index daea935a2..33a8b9d2f 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; -- cgit v1.2.3