implicit conversion loses integer precision

This commit is contained in:
Dennis Luxen 2015-01-02 17:41:11 +01:00
parent ea17d1f6c7
commit bcaaf34fa7

View File

@ -39,7 +39,7 @@ RestrictionMap::RestrictionMap(const std::vector<TurnRestriction> &restriction_l
RestrictionSource restriction_source = {restriction.from.node, restriction.via.node};
unsigned index;
std::size_t index;
auto restriction_iter = m_restriction_map.find(restriction_source);
if (restriction_iter == m_restriction_map.end())
{