diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-06-26 10:51:37 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-06-27 19:20:52 +0300 |
commit | 570b2b0b35df1fad001460eccf35da31e334b8b0 (patch) | |
tree | 2f805cf3122db499b794248f3f6c1bdd232b258c /openlr/graph.cpp | |
parent | dd7186b48be4636c1e67d223817a47f3f3a026e9 (diff) |
[indexer] DataSource refactoring
Diffstat (limited to 'openlr/graph.cpp')
-rw-r--r-- | openlr/graph.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openlr/graph.cpp b/openlr/graph.cpp index c2da01d639..cad486d404 100644 --- a/openlr/graph.cpp +++ b/openlr/graph.cpp @@ -1,7 +1,5 @@ #include "openlr/graph.hpp" -class DataSourceBase; - using namespace routing; namespace openlr @@ -30,7 +28,7 @@ void GetRegularEdges(Junction const & junction, IRoadGraph const & graph, } } // namespace -Graph::Graph(DataSourceBase const & dataSource, shared_ptr<CarModelFactory> carModelFactory) +Graph::Graph(DataSource const & dataSource, shared_ptr<CarModelFactory> carModelFactory) : m_graph(dataSource, IRoadGraph::Mode::ObeyOnewayTag, carModelFactory) { } |