Sqlite: Prevent copying of LastChangedRowId

Change-Id: Ibed20ce8ee33a8f50756903f3133cb47cdfab218
Reviewed-by: Tapani Mattila <tapani.mattila@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2021-03-18 11:19:18 +01:00
parent baab71c073
commit 52143466a2

View File

@@ -37,6 +37,9 @@ template<unsigned int TableCount = 0>
class LastChangedRowId
{
public:
LastChangedRowId(const LastChangedRowId &) = delete;
LastChangedRowId &operator=(const LastChangedRowId &) = delete;
LastChangedRowId(DatabaseInterface &database)
: database(database)