diff options
| author | 2021-05-28 01:47:50 -0400 | |
|---|---|---|
| committer | 2021-05-28 01:47:52 -0400 | |
| commit | 6806a893bd148bc376e415643205ee29dedeaed5 (patch) | |
| tree | 0132d4f66a3b0e10a17283c605fa68fc01889cd3 /src | |
| parent | common/fs/file: Default initialize IOFile members (diff) | |
| download | yuzu-6806a893bd148bc376e415643205ee29dedeaed5.tar.gz yuzu-6806a893bd148bc376e415643205ee29dedeaed5.tar.xz yuzu-6806a893bd148bc376e415643205ee29dedeaed5.zip | |
common/fs/file: Devirtualize destructor
IOFile is a final class, so there's no need for a virtual destructor.
Diffstat (limited to '')
| -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 daea935a2..33a8b9d2f 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h | |||
| @@ -142,7 +142,7 @@ public: | |||
| 142 | FileType type = FileType::BinaryFile, | 142 | FileType type = FileType::BinaryFile, |
| 143 | FileShareFlag flag = FileShareFlag::ShareReadOnly); | 143 | FileShareFlag flag = FileShareFlag::ShareReadOnly); |
| 144 | 144 | ||
| 145 | virtual ~IOFile(); | 145 | ~IOFile(); |
| 146 | 146 | ||
| 147 | IOFile(IOFile&& other) noexcept; | 147 | IOFile(IOFile&& other) noexcept; |
| 148 | IOFile& operator=(IOFile&& other) noexcept; | 148 | IOFile& operator=(IOFile&& other) noexcept; |