diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-04-12 15:36:55 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-04-12 15:36:55 (GMT) |
commit | 1bca540e524787961c3fbe253113c9c04a828bc7 (patch) | |
tree | 58c1088cfbcbca6729c79e75dd776ba4a7682826 /Source | |
parent | 0cae8768676f9c6094eb92da6c9727a0970b3593 (diff) | |
download | CMake-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.h | 3 |
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); |