diff --git a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.h b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.h --- a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.h +++ b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.h @@ -23,7 +23,7 @@ namespace comm { class SQLiteQueryExecutor : public DatabaseQueryExecutor { - static void closeConnection(); + sqlite3 *getConnection() const; std::optional getSyncedDatabaseVersion(sqlite3 *db) const; std::vector @@ -46,7 +46,6 @@ ~SQLiteQueryExecutor(); - sqlite3 *getConnection() const; void migrate() const override; std::unique_ptr getThread(std::string threadID) const override;