diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-04-19 14:50:25 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-04-19 15:16:12 +0300 |
commit | da2736642779007704fb67d38a50b8e20c990dc9 (patch) | |
tree | ed9ed4d39612a6b7c5fa03be8c161e96a12c6cfd /track_analyzing | |
parent | 0762359c1dcade9ff4abe02acfaa3b033028dfd4 (diff) |
Build fix.
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_matcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/track_analyzing/track_matcher.cpp b/track_analyzing/track_matcher.cpp index 78ed6f5a93..cc9069bb05 100644 --- a/track_analyzing/track_matcher.cpp +++ b/track_analyzing/track_matcher.cpp @@ -63,7 +63,8 @@ TrackMatcher::TrackMatcher(storage::Storage const & storage, NumMwmId mwmId, MwmSet::MwmHandle const handle = m_index.GetMwmHandleByCountryFile(countryFile); m_graph = make_unique<IndexGraph>( - GeometryLoader::Create(m_index, handle, m_vehicleModel, false /* loadAltitudes */), + make_shared<Geometry>( + GeometryLoader::Create(m_index, handle, m_vehicleModel, false /* loadAltitudes */)), EdgeEstimator::Create(VehicleType::Car, *m_vehicleModel, nullptr /* trafficStash */)); DeserializeIndexGraph(*handle.GetValue<MwmValue>(), VehicleType::Car, *m_graph); |