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/routing_benchmarks/helpers.cpp
parentdd7186b48be4636c1e67d223817a47f3f3a026e9 (diff)
[indexer] DataSource refactoring
Diffstat (limited to 'routing/routing_benchmarks/helpers.cpp')
-rw-r--r--routing/routing_benchmarks/helpers.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/routing/routing_benchmarks/helpers.cpp b/routing/routing_benchmarks/helpers.cpp
index abddbcd2b3..170909ac9c 100644
--- a/routing/routing_benchmarks/helpers.cpp
+++ b/routing/routing_benchmarks/helpers.cpp
@@ -63,7 +63,10 @@ m2::PointD GetPointOnEdge(routing::Edge const & e, double posAlong)
} // namespace
RoutingTest::RoutingTest(routing::IRoadGraph::Mode mode, set<string> const & neededMaps)
- : m_mode(mode), m_neededMaps(neededMaps), m_numMwmIds(my::make_unique<routing::NumMwmIds>())
+ : m_mode(mode)
+ , m_dataSource(make_unique<FeatureSourceFactory>())
+ , m_neededMaps(neededMaps)
+ , m_numMwmIds(my::make_unique<routing::NumMwmIds>())
{
classificator::Load();