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:
Ulf Hermann
2018-01-30 10:28:32 +01:00
parent 373f5835dc
commit 14297c9543
2 changed files with 5 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ public:
Database();
Database(Utils::PathString &&databaseFilePath, JournalMode journalMode=JournalMode::Wal);
~Database();
Database(const Database &) = delete;
bool operator=(const Database &) = delete;