diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-06-26 13:35:47 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-06-27 19:20:52 +0300 |
commit | 68bfbad5eef3ed2645b60fecbc74121487900bbf (patch) | |
tree | bbfa7c4e1783668c56e83245ccd0b14e62433a92 /track_analyzing | |
parent | 570b2b0b35df1fad001460eccf35da31e334b8b0 (diff) |
[indexer] DataSource unique_ptr<FeatureSourceFactory> -> FeatureSourceFactory const &
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_matcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/track_analyzing/track_matcher.cpp b/track_analyzing/track_matcher.cpp index 310e9b1ccb..9b6a14ed25 100644 --- a/track_analyzing/track_matcher.cpp +++ b/track_analyzing/track_matcher.cpp @@ -54,7 +54,7 @@ namespace track_analyzing // TrackMatcher ------------------------------------------------------------------------------------ TrackMatcher::TrackMatcher(storage::Storage const & storage, NumMwmId mwmId, platform::CountryFile const & countryFile) - : m_dataSource(make_unique<FeatureSourceFactory>()) + : m_dataSource(FeatureSourceFactory::Get()) , m_mwmId(mwmId) , m_vehicleModel(CarModelFactory({}).GetVehicleModelForCountry(countryFile.GetName())) { |