remove unnecessary casts in debug build

This commit is contained in:
Dennis Luxen 2015-02-10 12:27:27 +01:00
parent 2c773750c7
commit b6314e0c73

View File

@ -236,8 +236,8 @@ class ShortestPathRouting final : public BasicRoutingInterface<DataFacadeT>
std::vector<NodeID> temporary_packed_leg1;
std::vector<NodeID> temporary_packed_leg2;
BOOST_ASSERT((unsigned)current_leg < packed_legs1.size());
BOOST_ASSERT((unsigned)current_leg < packed_legs2.size());
BOOST_ASSERT(current_leg < packed_legs1.size());
BOOST_ASSERT(current_leg < packed_legs2.size());
if (INVALID_EDGE_WEIGHT != local_upper_bound1)
{