forked from qt-creator/qt-creator
Sqlite: Add a dtor to Database
The base class TransactionInterface has a virtual destructor that is not exported. This means we get linker errors when trying to use Database in a different library. Change-Id: Iba431a627dca32d59ea7316b7f3eb07fa209c60f Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -48,6 +48,7 @@ public:
|
||||
|
||||
Database();
|
||||
Database(Utils::PathString &&databaseFilePath, JournalMode journalMode=JournalMode::Wal);
|
||||
~Database();
|
||||
|
||||
Database(const Database &) = delete;
|
||||
bool operator=(const Database &) = delete;
|
||||
|
||||
Reference in New Issue
Block a user