bug 460: ListPositionAllocator bug

This commit is contained in:
Mauro Tortonesi
2009-01-09 08:31:17 +01:00
parent 85af7552dd
commit c41be20e40

View File

@@ -70,6 +70,10 @@ ListPositionAllocator::GetNext (void) const
{
Vector v = *m_current;
m_current++;
if (m_current == m_positions.end())
{
m_current = m_positions.begin ();
}
return v;
}