summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-16 14:23:43 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-16 14:23:43 (GMT)
commit662234eff99aad2f9f7961e094f046800173981a (patch)
treebce85c992cc091a36b4dc65a62ad56fcb32ee932
parent84dce824e5c5779800b9608835afacba77372d5e (diff)
downloadCMake-662234eff99aad2f9f7961e094f046800173981a.zip
CMake-662234eff99aad2f9f7961e094f046800173981a.tar.gz
CMake-662234eff99aad2f9f7961e094f046800173981a.tar.bz2
ENH: replace brackets with more generic find
-rw-r--r--Source/cmITKWrapTclCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx
index 8c6ab51..0f69bb1 100644
--- a/Source/cmITKWrapTclCommand.cxx
+++ b/Source/cmITKWrapTclCommand.cxx
@@ -81,7 +81,7 @@ bool cmITKWrapTclCommand::InitialPass(std::vector<std::string> const& args)
}
// keep the target name
m_TargetName = args[0];
- m_Target = &m_Makefile->GetTargets()[m_TargetName.c_str()];
+ m_Target = &m_Makefile->GetTargets().find(m_TargetName)->second;
// Prepare the dependency generator.
m_MakeDepend->SetMakefile(m_Makefile);