From 3fa1b9641dd16ad93c64737fd2eeb131cca70f76 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 2 Aug 2015 10:29:01 +0200 Subject: cmGlobalUnixMakefileGenerator3: Change the progress container key. --- Source/cmGlobalUnixMakefileGenerator3.cxx | 4 ++-- Source/cmGlobalUnixMakefileGenerator3.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 75c2fb8..b240924 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -943,7 +943,7 @@ void cmGlobalUnixMakefileGenerator3::InitializeProgressMarks() { // This local generator includes the target. std::set& targetSet = - this->DirectoryTargetsMap[clg]; + this->DirectoryTargetsMap[clg->GetStateSnapshot()]; targetSet.insert(gt); // Add dependencies of the included target. An excluded @@ -992,7 +992,7 @@ cmGlobalUnixMakefileGenerator3 size_t count = 0; std::set emitted; std::set const& targets - = this->DirectoryTargetsMap[lg]; + = this->DirectoryTargetsMap[lg->GetStateSnapshot()]; for(std::set::const_iterator t = targets.begin(); t != targets.end(); ++t) { diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index 7601cc4..c738c16 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/Source/cmGlobalUnixMakefileGenerator3.h @@ -207,8 +207,9 @@ private: virtual const char* GetBuildIgnoreErrorsFlag() const { return "-i"; } virtual std::string GetEditCacheCommand() const; - std::map > - DirectoryTargetsMap; + std::map, + cmState::Snapshot::StrictWeakOrder> DirectoryTargetsMap; virtual void InitializeProgressMarks(); }; -- cgit v0.12