Fix build failure on FreeBSD/clang by using auto iterator type

llvm-svn: 192999
This commit is contained in:
Ed Maste 2013-10-18 20:32:25 +00:00
parent 3255134ac5
commit f7920c8798
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ static addr_t ReadPointer(Process *process, addr_t addr)
lldb::addr_t
DynamicLoaderPOSIXDYLD::GetThreadLocalData (const lldb::ModuleSP module, const lldb::ThreadSP thread)
{
std::map<ModuleWP, addr_t>::const_iterator it = m_loaded_modules.find (module);
auto it = m_loaded_modules.find (module);
if (it == m_loaded_modules.end())
return LLDB_INVALID_ADDRESS;