forked from qt-creator/qt-creator
use initializer lists
Change-Id: I13fdce33c26e975a2a97edf10d4619c753f3229e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user