Commit c947f1f8 authored by Christian Stenger's avatar Christian Stenger Committed by Orgad Shaneh

VCS: Fix compile for older compiler

Introduced with 8b9456e4

Change-Id: I19dbe1e8f90fb81ea51b8017306e4acd7c16b3b5
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent a66fe4b2
......@@ -79,9 +79,9 @@ VcsProjectCache::VcsProjectCache()
m_instance = this;
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectAdded,
this, []() { VcsProjectCache::invalidate(); });
this, [&]() { VcsProjectCache::invalidate(); });
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectRemoved,
this, []() { VcsProjectCache::invalidate(); });
this, [&]() { VcsProjectCache::invalidate(); });
}
VcsProjectCache::~VcsProjectCache()
......
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