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 'generator/utils.cpp')
-rw-r--r--generator/utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/generator/utils.cpp b/generator/utils.cpp
index 235fe2c175..8068785e45 100644
--- a/generator/utils.cpp
+++ b/generator/utils.cpp
@@ -11,6 +11,7 @@ namespace generator
{
// SingleMwmDataSource -----------------------------------------------------------------------------
SingleMwmDataSource::SingleMwmDataSource(std::string const & mwmPath)
+ : m_dataSource(make_unique<FeatureSourceFactory>())
{
m_countryFile = platform::LocalCountryFile::MakeTemporary(mwmPath);
m_countryFile.SyncWithDisk();
@@ -24,7 +25,7 @@ SingleMwmDataSource::SingleMwmDataSource(std::string const & mwmPath)
m_mwmId = result.first;
}
-void LoadDataSource(DataSourceBase & dataSource)
+void LoadDataSource(DataSource & dataSource)
{
vector<platform::LocalCountryFile> localFiles;