fix File abstraction destructor

This commit is contained in:
nmzik
2026-09-04 00:26:54 +02:00
parent c2189de88f
commit eb917463ad
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ File::File(): m_p(std::make_unique<FilePrivate>()) {
}
File::~File() {
EXIT_IF(m_p->f != nullptr);
Close();
}
File::File(const std::filesystem::path& name): m_p(std::make_unique<FilePrivate>()) {