summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsreuse.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-11-04 11:18:59 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-11-04 11:10:41 +0000
commit4ed5afba27d8300880bbf0d7c9b78a39ed04e74a (patch)
tree0eb8ef600b1ceade71d883c1daa667677acf0465 /src/plugins/cpptools/cpptoolsreuse.cpp
parente1ed5e4804985487b536c2b8b58cd02413fe4104 (diff)
downloadqt-creator-4ed5afba27d8300880bbf0d7c9b78a39ed04e74a.tar.gz
CppTools: Fix compile with gcc 4.7.3
Change-Id: I6a6f0a8ab065fb2c02373165a4b43d76f039d1f3 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsreuse.cpp')
-rw-r--r--src/plugins/cpptools/cpptoolsreuse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpptoolsreuse.cpp b/src/plugins/cpptools/cpptoolsreuse.cpp
index 295ad45e30..41031eb839 100644
--- a/src/plugins/cpptools/cpptoolsreuse.cpp
+++ b/src/plugins/cpptools/cpptoolsreuse.cpp
@@ -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);
}