From e647e73af90b7aa08c00b24756b0ef473e0add2d Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 24 Jul 2014 11:25:43 +0200 Subject: [PATCH] fix implcit conversion in RestrictionMap --- DataStructures/RestrictionMap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataStructures/RestrictionMap.h b/DataStructures/RestrictionMap.h index 8207b8038..580d5e348 100644 --- a/DataStructures/RestrictionMap.h +++ b/DataStructures/RestrictionMap.h @@ -103,7 +103,7 @@ class RestrictionMap NodeID CheckForEmanatingIsOnlyTurn(const NodeID u, const NodeID v) const; bool CheckIfTurnIsRestricted(const NodeID u, const NodeID v, const NodeID w) const; bool IsViaNode(const NodeID node) const; - unsigned size() + std::size_t size() { return m_count; } @@ -113,7 +113,7 @@ class RestrictionMap typedef std::vector EmanatingRestrictionsVector; typedef NodeBasedDynamicGraph::EdgeData EdgeData; - unsigned m_count; + std::size_t m_count; std::shared_ptr m_graph; //! index -> list of (target, isOnly) std::vector m_restriction_bucket_list;