VCS: Fix compile for older compiler

Introduced with 8b9456e4

Change-Id: I19dbe1e8f90fb81ea51b8017306e4acd7c16b3b5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2015-02-26 15:17:07 +01:00
committed by Orgad Shaneh
parent a66fe4b29e
commit c947f1f800

View File

@@ -79,9 +79,9 @@ VcsProjectCache::VcsProjectCache()
m_instance = this; m_instance = this;
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectAdded, connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectAdded,
this, []() { VcsProjectCache::invalidate(); }); this, [&]() { VcsProjectCache::invalidate(); });
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectRemoved, connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectRemoved,
this, []() { VcsProjectCache::invalidate(); }); this, [&]() { VcsProjectCache::invalidate(); });
} }
VcsProjectCache::~VcsProjectCache() VcsProjectCache::~VcsProjectCache()