From 662234eff99aad2f9f7961e094f046800173981a Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 16 Jun 2005 10:23:43 -0400 Subject: ENH: replace brackets with more generic find --- Source/cmITKWrapTclCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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); -- cgit v0.12