mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
fix openlr helpers build
See the commit e0f8e043bb
apparently the code was never tested
Signed-off-by: Wojciech Sipak <wsipak@protonmail.com>
This commit is contained in:
@@ -52,7 +52,7 @@ optional<Score> GetFrcScore(Graph::Edge const & e, FunctionalRoadClass functiona
|
|||||||
return hwClass == HighwayClass::Motorway || hwClass == HighwayClass::Trunk ? optional<Score>(kMaxScoreForFrc) : nullopt;
|
return hwClass == HighwayClass::Motorway || hwClass == HighwayClass::Trunk ? optional<Score>(kMaxScoreForFrc) : nullopt;
|
||||||
|
|
||||||
case FunctionalRoadClass::FRC1:
|
case FunctionalRoadClass::FRC1:
|
||||||
return (HighwayClass::Motorway || hwClass == HighwayClass::Trunk || hwClass == HighwayClass::Primary) ? optional<Score>(kMaxScoreForFrc)
|
return (hwClass == HighwayClass::Motorway || hwClass == HighwayClass::Trunk || hwClass == HighwayClass::Primary) ? optional<Score>(kMaxScoreForFrc)
|
||||||
: nullopt;
|
: nullopt;
|
||||||
|
|
||||||
case FunctionalRoadClass::FRC2:
|
case FunctionalRoadClass::FRC2:
|
||||||
|
|||||||
Reference in New Issue
Block a user