Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortatiana-yan <tatiana.kondakova@gmail.com>2018-06-26 10:51:37 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2018-06-27 19:20:52 +0300
commit570b2b0b35df1fad001460eccf35da31e334b8b0 (patch)
tree2f805cf3122db499b794248f3f6c1bdd232b258c /routing/cross_mwm_index_graph.hpp
parentdd7186b48be4636c1e67d223817a47f3f3a026e9 (diff)
[indexer] DataSource refactoring
Diffstat (limited to 'routing/cross_mwm_index_graph.hpp')
-rw-r--r--routing/cross_mwm_index_graph.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/routing/cross_mwm_index_graph.hpp b/routing/cross_mwm_index_graph.hpp
index eb69f9bb1d..9c265ee342 100644
--- a/routing/cross_mwm_index_graph.hpp
+++ b/routing/cross_mwm_index_graph.hpp
@@ -66,7 +66,8 @@ class CrossMwmIndexGraph final
public:
using ReaderSourceFile = ReaderSource<FilesContainerR::TReader>;
- CrossMwmIndexGraph(DataSourceBase & dataSource, std::shared_ptr<NumMwmIds> numMwmIds, VehicleType vehicleType)
+ CrossMwmIndexGraph(DataSource & dataSource, std::shared_ptr<NumMwmIds> numMwmIds,
+ VehicleType vehicleType)
: m_dataSource(dataSource), m_numMwmIds(numMwmIds), m_vehicleType(vehicleType)
{
}
@@ -193,7 +194,7 @@ private:
return it->second;
}
- DataSourceBase & m_dataSource;
+ DataSource & m_dataSource;
std::shared_ptr<NumMwmIds> m_numMwmIds;
VehicleType m_vehicleType;