Fix build breakage of r257502.

llvm-svn: 257510
This commit is contained in:
Stephane Sezer 2016-01-12 20:22:58 +00:00
parent e18d46205c
commit 1307d4c7df
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ DYLDRendezvous::RemoveSOEntriesFromRemote(LoadedModuleInfoList &module_list)
// Only add shared libraries and not the executable.
if (!SOEntryIsMainExecutable(entry))
{
iterator pos = std::find(m_soentries.begin(), m_soentries.end(), entry);
auto pos = std::find(m_soentries.begin(), m_soentries.end(), entry);
if (pos == m_soentries.end())
return false;