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/decoded_path.cpp | |
parent | dd7186b48be4636c1e67d223817a47f3f3a026e9 (diff) |
[indexer] DataSource refactoring
Diffstat (limited to 'openlr/decoded_path.cpp')
-rw-r--r-- | openlr/decoded_path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openlr/decoded_path.cpp b/openlr/decoded_path.cpp index 33642c2567..1871e10b6d 100644 --- a/openlr/decoded_path.cpp +++ b/openlr/decoded_path.cpp @@ -45,7 +45,7 @@ void LatLonFromXML(pugi::xml_node const & node, ms::LatLon & latLon) latLon.lon = node.child("lon").text().as_double(); } -void FeatureIdFromXML(pugi::xml_node const & node, DataSourceBase const & dataSource, FeatureID & fid) +void FeatureIdFromXML(pugi::xml_node const & node, DataSource const & dataSource, FeatureID & fid) { THROW_IF_NODE_IS_EMPTY(node, openlr::DecodedPathLoadError, ("Can't parse CountryName")); auto const countryName = node.child("CountryName").text().as_string(); @@ -109,7 +109,7 @@ void WriteAsMappingForSpark(std::ostream & ost, std::vector<DecodedPath> const & } } -void PathFromXML(pugi::xml_node const & node, DataSourceBase const & dataSource, Path & p) +void PathFromXML(pugi::xml_node const & node, DataSource const & dataSource, Path & p) { auto const edges = node.select_nodes("RoadEdge"); for (auto const xmlE : edges) |