fix buggy assert

This commit is contained in:
Mathieu Lacage
2007-05-25 17:42:53 +02:00
parent 3df39a1f78
commit f1db331e5d

View File

@@ -58,7 +58,7 @@ std::string
UidManager::LookupByUid (uint32_t uid)
{
NS_ASSERT (uid > 0);
NS_ASSERT (m_nameList.size () > uid);
NS_ASSERT (m_nameList.size () >= uid);
return m_nameList[uid-1];
}