diff options
Diffstat (limited to 'routing/cross_mwm_graph.hpp')
-rw-r--r-- | routing/cross_mwm_graph.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/routing/cross_mwm_graph.hpp b/routing/cross_mwm_graph.hpp index 601ff16ad6..c5f5a8888d 100644 --- a/routing/cross_mwm_graph.hpp +++ b/routing/cross_mwm_graph.hpp @@ -20,7 +20,7 @@ #include <utility> #include <vector> -class DataSourceBase; +class DataSource; namespace routing { @@ -36,8 +36,9 @@ public: }; CrossMwmGraph(std::shared_ptr<NumMwmIds> numMwmIds, shared_ptr<m4::Tree<NumMwmId>> numMwmTree, - std::shared_ptr<VehicleModelFactoryInterface> vehicleModelFactory, VehicleType vehicleType, - CourntryRectFn const & countryRectFn, DataSourceBase & dataSource); + std::shared_ptr<VehicleModelFactoryInterface> vehicleModelFactory, + VehicleType vehicleType, CourntryRectFn const & countryRectFn, + DataSource & dataSource); /// \brief Transition segment is a segment which is crossed by mwm border. That means /// start and finish of such segment have to lie in different mwms. If a segment is @@ -148,7 +149,7 @@ private: void DeserializeTransitions(std::vector<NumMwmId> const & mwmIds); void DeserializeTransitTransitions(std::vector<NumMwmId> const & mwmIds); - DataSourceBase & m_dataSource; + DataSource & m_dataSource; std::shared_ptr<NumMwmIds> m_numMwmIds; std::shared_ptr<m4::Tree<NumMwmId>> m_numMwmTree; std::shared_ptr<VehicleModelFactoryInterface> m_vehicleModelFactory; |