diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-16 14:23:43 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-16 14:23:43 (GMT) |
commit | 662234eff99aad2f9f7961e094f046800173981a (patch) | |
tree | bce85c992cc091a36b4dc65a62ad56fcb32ee932 /Source/cmITKWrapTclCommand.cxx | |
parent | 84dce824e5c5779800b9608835afacba77372d5e (diff) | |
download | CMake-662234eff99aad2f9f7961e094f046800173981a.zip CMake-662234eff99aad2f9f7961e094f046800173981a.tar.gz CMake-662234eff99aad2f9f7961e094f046800173981a.tar.bz2 |
ENH: replace brackets with more generic find
Diffstat (limited to 'Source/cmITKWrapTclCommand.cxx')
-rw-r--r-- | Source/cmITKWrapTclCommand.cxx | 2 |
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); |