summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-04-12 15:36:55 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-04-12 15:36:55 (GMT)
commit1bca540e524787961c3fbe253113c9c04a828bc7 (patch)
tree58c1088cfbcbca6729c79e75dd776ba4a7682826 /Source
parent0cae8768676f9c6094eb92da6c9727a0970b3593 (diff)
downloadCMake-1bca540e524787961c3fbe253113c9c04a828bc7.zip
CMake-1bca540e524787961c3fbe253113c9c04a828bc7.tar.gz
CMake-1bca540e524787961c3fbe253113c9c04a828bc7.tar.bz2
ENH: fix compile issue on HP hopefully
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index d3e3f30..66a35a8 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -175,8 +175,7 @@ public:
configuration. This is valid during generation only. */
cmTargetManifest const& GetTargetManifest() { return this->TargetManifest; }
- void AddTarget(cmTargets::value_type &v) {
- this->TotalTargets.insert(std::pair<cmStdString,cmTarget *>(v.first,&v.second));};
+ void AddTarget(cmTargets::value_type &v) { this->TotalTargets[v.first] = &v.second;};
/** Support for multiple custom command outputs. */
virtual void CheckMultipleOutputs(cmMakefile* mf, bool verbose);