ENH: replace brackets with more generic find

This commit is contained in:
Ken Martin 2005-06-16 10:23:43 -04:00
parent 84dce824e5
commit 662234eff9
1 changed files with 1 additions and 1 deletions

View File

@ -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);