Vcs: Fix compile for MSVC2010 as well

Change-Id: I76bed2b8256073a14398dd0055173481e2c7f48d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2015-02-27 08:21:14 +01:00
committed by Orgad Shaneh
parent 0038e82782
commit 958c0cebb9

View File

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