forked from qt-creator/qt-creator
Vcs: Fix compile for MSVC2010 as well
Change-Id: I76bed2b8256073a14398dd0055173481e2c7f48d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
0038e82782
commit
958c0cebb9
@@ -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, [this]() { VcsProjectCache::invalidate(); });
|
||||||
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectRemoved,
|
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::projectRemoved,
|
||||||
this, [&]() { VcsProjectCache::invalidate(); });
|
this, [this]() { VcsProjectCache::invalidate(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
VcsProjectCache::~VcsProjectCache()
|
VcsProjectCache::~VcsProjectCache()
|
||||||
|
Reference in New Issue
Block a user