diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-23 16:47:25 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-24 08:44:58 +0000 |
commit | 02785342acc1580210e6d69b5893c431ddc0c009 (patch) | |
tree | 290a776626db075483541ca51f422b00bff088ef /src/plugins/autotest/autotestplugin.cpp | |
parent | fe076dbe41bb05a4257601cfdc9008599fb31bd7 (diff) |
Fix some clang warnings about unused lambda captures
There are more, but we need to keep those because MSVC believes they are
required. This is the subset that satisifies both compilers.
Change-Id: I0b0a63d5496acc119a7f0513d3a1da0b76fa1fca
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/autotest/autotestplugin.cpp')
-rw-r--r-- | src/plugins/autotest/autotestplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp index faeb46df38..9e01a295ce 100644 --- a/src/plugins/autotest/autotestplugin.cpp +++ b/src/plugins/autotest/autotestplugin.cpp @@ -157,7 +157,7 @@ AutotestPluginPrivate::AutotestPluginPrivate() this, [this] { m_runconfigCache.clear(); }); connect(sessionManager, &ProjectExplorer::SessionManager::aboutToRemoveProject, - this, [this] (ProjectExplorer::Project *project) { + this, [] (ProjectExplorer::Project *project) { auto it = s_projectSettings.find(project); if (it != s_projectSettings.end()) { delete it.value(); |