From 3b135447f343aa86205b6a8b11378c3f24bf14dc Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Wed, 23 Jul 2014 14:50:45 +0200 Subject: [PATCH] use typedef Edgeweight instead of raw int --- RoutingAlgorithms/ShortestPathRouting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoutingAlgorithms/ShortestPathRouting.h b/RoutingAlgorithms/ShortestPathRouting.h index 97a9e63d4..cd0b219ac 100644 --- a/RoutingAlgorithms/ShortestPathRouting.h +++ b/RoutingAlgorithms/ShortestPathRouting.h @@ -89,7 +89,7 @@ template class ShortestPathRouting : public BasicRoutingInte middle2 = UINT_MAX; const bool allow_u_turn = current_leg > 0 && uturn_indicators.size() > current_leg && uturn_indicators[current_leg-1]; - int min_edge_offset = 0; + EdgeWeight min_edge_offset = 0; // insert new starting nodes into forward heap, adjusted by previous distances. if ((allow_u_turn || search_from_1st_node) &&