Fix the broken build that happened with my last checkin.

llvm-svn: 137300
This commit is contained in:
Greg Clayton
2011-08-11 04:30:39 +00:00
parent 93b3e848de
commit 0c02e4eaea
2 changed files with 5 additions and 5 deletions

View File

@@ -113,9 +113,9 @@ size_t
ModuleList::RemoveOrphans ()
{
Mutex::Locker locker(m_modules_mutex);
collection::reverse_iterator pos = m_modules.rbegin();
collection::iterator pos = m_modules.begin();
size_t remove_count = 0;
while (pos != m_modules.rend())
while (pos != m_modules.end())
{
if (pos->unique())
{