mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Fix build with Clang on Windows
This commit is contained in:
@@ -38,7 +38,7 @@ namespace BlackMisc
|
||||
CAtomicFile(const QString &filename) : QFile(filename) {}
|
||||
|
||||
//! \copydoc QFile::~QFile
|
||||
virtual ~CAtomicFile() override { if (std::uncaught_exception()) { QFile::close(); } }
|
||||
virtual ~CAtomicFile() override;
|
||||
|
||||
//! \copydoc QFile::open
|
||||
//! Just before opening the file, the filename is changed so we actually write to a temporary file.
|
||||
|
||||
Reference in New Issue
Block a user