use initializer lists

Change-Id: I13fdce33c26e975a2a97edf10d4619c753f3229e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Tim Jenssen
2022-09-06 18:04:36 +02:00
parent 9434567cdb
commit e8e30d6afd
5 changed files with 9 additions and 9 deletions

View File

@@ -299,7 +299,7 @@ bool TestCase::parseFiles(const QSet<QString> &filePaths)
bool TestCase::parseFiles(const QString &filePath)
{
return parseFiles(QSet<QString>() << filePath);
return parseFiles(QSet<QString>{filePath});
}
void TestCase::closeEditorAtEndOfTestCase(Core::IEditor *editor)