forked from qt-creator/qt-creator
Sqlite: Export TransactionInterface
Implementing the Database destructor was working around the non exported TransactionInterface destructor. Change-Id: Ia53ca95e7dc1141558adf65894b9c120fc88f4de Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -42,10 +42,6 @@ Database::Database(Utils::PathString &&databaseFilePath, JournalMode journalMode
|
||||
open(std::move(databaseFilePath));
|
||||
}
|
||||
|
||||
Database::~Database()
|
||||
{
|
||||
}
|
||||
|
||||
void Database::open()
|
||||
{
|
||||
m_databaseBackend.open(m_databaseFilePath, m_openMode);
|
||||
|
||||
@@ -48,7 +48,6 @@ public:
|
||||
|
||||
Database();
|
||||
Database(Utils::PathString &&databaseFilePath, JournalMode journalMode=JournalMode::Wal);
|
||||
~Database();
|
||||
|
||||
Database(const Database &) = delete;
|
||||
bool operator=(const Database &) = delete;
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Sqlite {
|
||||
class DatabaseBackend;
|
||||
class Database;
|
||||
|
||||
class TransactionInterface
|
||||
class SQLITE_EXPORT TransactionInterface
|
||||
{
|
||||
public:
|
||||
TransactionInterface() = default;
|
||||
|
||||
Reference in New Issue
Block a user