implicit conversion loses integer precision
This commit is contained in:
parent
ea17d1f6c7
commit
bcaaf34fa7
@ -39,7 +39,7 @@ RestrictionMap::RestrictionMap(const std::vector<TurnRestriction> &restriction_l
|
|||||||
|
|
||||||
RestrictionSource restriction_source = {restriction.from.node, restriction.via.node};
|
RestrictionSource restriction_source = {restriction.from.node, restriction.via.node};
|
||||||
|
|
||||||
unsigned index;
|
std::size_t index;
|
||||||
auto restriction_iter = m_restriction_map.find(restriction_source);
|
auto restriction_iter = m_restriction_map.find(restriction_source);
|
||||||
if (restriction_iter == m_restriction_map.end())
|
if (restriction_iter == m_restriction_map.end())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user