Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortatiana-yan <tatiana.kondakova@gmail.com>2018-06-26 13:35:47 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2018-06-27 19:20:52 +0300
commit68bfbad5eef3ed2645b60fecbc74121487900bbf (patch)
treebbfa7c4e1783668c56e83245ccd0b14e62433a92 /openlr/openlr_decoder.cpp
parent570b2b0b35df1fad001460eccf35da31e334b8b0 (diff)
[indexer] DataSource unique_ptr<FeatureSourceFactory> -> FeatureSourceFactory const &
Diffstat (limited to 'openlr/openlr_decoder.cpp')
-rw-r--r--openlr/openlr_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openlr/openlr_decoder.cpp b/openlr/openlr_decoder.cpp
index 8c6c12ddd2..6e0cb1a19b 100644
--- a/openlr/openlr_decoder.cpp
+++ b/openlr/openlr_decoder.cpp
@@ -81,7 +81,7 @@ struct alignas(kCacheLineSize) Stats
bool IsRealVertex(m2::PointD const & p, FeatureID const & fid, DataSource const & dataSource)
{
- DataSource::FeaturesLoaderGuard g(dataSource, fid.m_mwmId, FeatureSourceFactory());
+ DataSource::FeaturesLoaderGuard g(dataSource, fid.m_mwmId, FeatureSourceFactory::Get());
auto const ft = g.GetOriginalFeatureByIndex(fid.m_index);
bool matched = false;
ft->ForEachPoint(