diff --git a/routing_algorithms/shortest_path.hpp b/routing_algorithms/shortest_path.hpp index 8282aa25f..6b6f98277 100644 --- a/routing_algorithms/shortest_path.hpp +++ b/routing_algorithms/shortest_path.hpp @@ -236,8 +236,8 @@ class ShortestPathRouting final : public BasicRoutingInterface std::vector temporary_packed_leg1; std::vector 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) {