diff --git a/src/dsdv/model/dsdv-routing-protocol.cc b/src/dsdv/model/dsdv-routing-protocol.cc index 94e722e8f..06f1759c6 100644 --- a/src/dsdv/model/dsdv-routing-protocol.cc +++ b/src/dsdv/model/dsdv-routing-protocol.cc @@ -840,7 +840,7 @@ RoutingProtocol::SendPeriodicUpdate () m_routingTable.Purge (removedAddresses); MergeTriggerPeriodicUpdates (); m_routingTable.GetListOfAllRoutes (allRoutes); - if (allRoutes.size () < 0) + if (allRoutes.empty ()) { return; }