ENH: replace brackets with more generic find
This commit is contained in:
parent
84dce824e5
commit
662234eff9
|
@ -81,7 +81,7 @@ bool cmITKWrapTclCommand::InitialPass(std::vector<std::string> const& args)
|
||||||
}
|
}
|
||||||
// keep the target name
|
// keep the target name
|
||||||
m_TargetName = args[0];
|
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.
|
// Prepare the dependency generator.
|
||||||
m_MakeDepend->SetMakefile(m_Makefile);
|
m_MakeDepend->SetMakefile(m_Makefile);
|
||||||
|
|
Loading…
Reference in New Issue