Commit 4ed5afba authored by Christian Stenger's avatar Christian Stenger

CppTools: Fix compile with gcc 4.7.3

Change-Id: I6a6f0a8ab065fb2c02373165a4b43d76f039d1f3
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent e1ed5e48
......@@ -292,7 +292,7 @@ bool skipFileDueToSizeLimit(const QFileInfo &fileInfo, int limitInMB)
Utils::FileNameList modifiedFiles()
{
Utils::FileNameList files = Utils::transform(Core::DocumentManager::modifiedDocuments(),
&Core::IDocument::filePath);
[](Core::IDocument *d) -> Utils::FileName { return d->filePath(); });
return Utils::filteredUnique(files);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment