Propagate is_left_hand_driving from profile to data facade
This commit is contained in:
@@ -365,7 +365,7 @@ class ContiguousInternalMemoryDataFacade<routing_algorithms::offline::Algorithm>
|
||||
}
|
||||
|
||||
util::guidance::EntryClass GetEntryClass(const EdgeID /*turn_id*/) const override { return {}; }
|
||||
bool IsLeftHandDriving() const override { return false; }
|
||||
bool IsLeftHandDriving(const NodeID /*id*/) const override { return false; }
|
||||
};
|
||||
|
||||
} // datafacade
|
||||
|
||||
@@ -223,7 +223,7 @@ class MockBaseDataFacade : public engine::datafacade::BaseDataFacade
|
||||
const char *GetWeightName() const override final { return "duration"; }
|
||||
unsigned GetWeightPrecision() const override final { return 1; }
|
||||
double GetWeightMultiplier() const override final { return 10.; }
|
||||
bool IsLeftHandDriving() const override { return false; }
|
||||
bool IsLeftHandDriving(const NodeID /*id*/) const override { return false; }
|
||||
|
||||
util::guidance::TurnBearing PreTurnBearing(const EdgeID /*eid*/) const override final
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user