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:
Diffstat (limited to 'openlr/road_info_getter.cpp')
-rw-r--r--openlr/road_info_getter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openlr/road_info_getter.cpp b/openlr/road_info_getter.cpp
index 96ffac93aa..bce9bb9c47 100644
--- a/openlr/road_info_getter.cpp
+++ b/openlr/road_info_getter.cpp
@@ -10,7 +10,7 @@
namespace openlr
{
-RoadInfoGetter::RoadInfoGetter(DataSourceBase const & dataSource)
+RoadInfoGetter::RoadInfoGetter(DataSource const & dataSource)
: m_dataSource(dataSource), m_c(classif())
{
}
@@ -21,7 +21,7 @@ RoadInfoGetter::RoadInfo RoadInfoGetter::Get(FeatureID const & fid)
if (it != end(m_cache))
return it->second;
- DataSource::FeaturesLoaderGuard g(m_dataSource, fid.m_mwmId);
+ DataSource::FeaturesLoaderGuard g(m_dataSource, fid.m_mwmId, FeatureSourceFactory());
FeatureType ft;
CHECK(g.GetOriginalFeatureByIndex(fid.m_index, ft), ());