Nim: Remove superfluous lambda on Utils::sort call

Change-Id: I401136a57e88736796397314d7e2d07e30fca4eb
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2018-09-30 09:00:23 +03:00
committed by Orgad Shaneh
parent e90fb40678
commit f2dd427f3d

View File

@@ -144,7 +144,7 @@ void NimProject::updateProject()
m_files = transform<QList>(fileNodes, [](const std::unique_ptr<FileNode> &fn) {
return fn->filePath().toString();
});
Utils::sort(m_files, [](const QString &a, const QString &b) { return a < b; });
Utils::sort(m_files);
if (oldFiles == m_files)
return;