diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-06-26 16:47:18 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-06-27 19:20:52 +0300 |
commit | 767dc57bd60633d6b94bbe7dda5ee3ab887aa0d6 (patch) | |
tree | 8f3cfe78441c2f96d2a90576d746f83b5cf621cf /track_analyzing | |
parent | 68bfbad5eef3ed2645b60fecbc74121487900bbf (diff) |
[index] Classes for Frozen and Editable DataSources
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_matcher.cpp | 3 | ||||
-rw-r--r-- | track_analyzing/track_matcher.hpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/track_analyzing/track_matcher.cpp b/track_analyzing/track_matcher.cpp index 9b6a14ed25..db23d48e6a 100644 --- a/track_analyzing/track_matcher.cpp +++ b/track_analyzing/track_matcher.cpp @@ -54,8 +54,7 @@ namespace track_analyzing // TrackMatcher ------------------------------------------------------------------------------------ TrackMatcher::TrackMatcher(storage::Storage const & storage, NumMwmId mwmId, platform::CountryFile const & countryFile) - : m_dataSource(FeatureSourceFactory::Get()) - , m_mwmId(mwmId) + : m_mwmId(mwmId) , m_vehicleModel(CarModelFactory({}).GetVehicleModelForCountry(countryFile.GetName())) { auto localCountryFile = storage.GetLatestLocalFile(countryFile); diff --git a/track_analyzing/track_matcher.hpp b/track_analyzing/track_matcher.hpp index 7563321537..3939faf210 100644 --- a/track_analyzing/track_matcher.hpp +++ b/track_analyzing/track_matcher.hpp @@ -76,7 +76,7 @@ private: }; routing::NumMwmId const m_mwmId; - DataSource m_dataSource; + FrozenDataSource m_dataSource; std::shared_ptr<routing::VehicleModelInterface> m_vehicleModel; std::unique_ptr<routing::IndexGraph> m_graph; uint64_t m_tracksCount = 0; |