From 1bca540e524787961c3fbe253113c9c04a828bc7 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 12 Apr 2006 11:36:55 -0400 Subject: [PATCH] ENH: fix compile issue on HP hopefully --- Source/cmGlobalGenerator.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index d3e3f3073..66a35a804 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(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);