bug 1369 - [LLVM] error: comparison of unsigned expression < 0 is always false

This commit is contained in:
Hemanth Narra
2012-03-18 12:09:03 +01:00
parent 7c18441da6
commit 9b69952eaa

View File

@@ -840,7 +840,7 @@ RoutingProtocol::SendPeriodicUpdate ()
m_routingTable.Purge (removedAddresses);
MergeTriggerPeriodicUpdates ();
m_routingTable.GetListOfAllRoutes (allRoutes);
if (allRoutes.size () < 0)
if (allRoutes.empty ())
{
return;
}