diff options
Diffstat (limited to 'routing/pedestrian_model.cpp')
-rw-r--r-- | routing/pedestrian_model.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/routing/pedestrian_model.cpp b/routing/pedestrian_model.cpp index 678a4064d9..7947e0b999 100644 --- a/routing/pedestrian_model.cpp +++ b/routing/pedestrian_model.cpp @@ -642,6 +642,13 @@ IVehicleModel::RoadAvailability PedestrianModel::GetRoadAvailability(feature::Ty return RoadAvailability::Unknown; } +// static +PedestrianModel const & PedestrianModel::DefaultInstance() +{ + static PedestrianModel const instance; + return instance; +} + PedestrianModelFactory::PedestrianModelFactory() { m_models[string()] = make_shared<PedestrianModel>(g_pedestrianLimitsDefault); |