QtVFS: Attempt to fix compilation error on Yocto

The yocto compiler finds no matching function for some reason.

Change-Id: I9fb7c00aeb3bd00b24bcf7513f68f6c8cffc5cbd
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
bb10
Fabian Kosmale 2023-07-04 10:07:57 +02:00
parent 7620c7b26e
commit d49c19b216
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ int xOpen(sqlite3_vfs *svfs, sqlite3_filename zName, sqlite3_file *sfile,
}
file->pMethods = &vfs->ioMethods;
file->pFile = new File::QtFile{QString::fromUtf8(zName), bool(flags & SQLITE_OPEN_DELETEONCLOSE)};
file->pFile = new File::QtFile(QString::fromUtf8(zName), bool(flags & SQLITE_OPEN_DELETEONCLOSE));
if (!file->pFile->open(mode))
return SQLITE_CANTOPEN;
if (pOutFlags)