Formatting

This commit is contained in:
Klaus Basan
2018-02-18 00:56:21 +01:00
parent 602373c97a
commit 2bbc433d30
7 changed files with 7 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ namespace BlackMisc
CAtomicFile(const QString &filename) : QFile(filename) {}
//! \copydoc QFile::~QFile
~CAtomicFile() { if (std::uncaught_exception()) { QFile::close(); } }
virtual ~CAtomicFile() { if (std::uncaught_exception()) { QFile::close(); } }
//! \copydoc QFile::open
//! Just before opening the file, the filename is changed so we actually write to a temporary file.