[Old map downloader] Fix compile error

This commit is contained in:
Sergey Yershov 2016-01-22 14:00:40 +03:00
parent db6f3c49c4
commit 94a6853775

View file

@ -1050,12 +1050,12 @@ void Framework::InitCountryInfoGetter()
{
if(platform::migrate::NeedMigrate())
{
m_infoGetter.reset(new storage::CountryInfoGetter(platform.GetReader(PACKED_POLYGONS_FILE),
m_infoGetter.reset(new storage::CountryInfoReader(platform.GetReader(PACKED_POLYGONS_FILE),
platform.GetReader(COUNTRIES_FILE)));
}
else
{
m_infoGetter.reset(new storage::CountryInfoGetter(platform.GetReader(PACKED_POLYGONS_MIGRATE_FILE),
m_infoGetter.reset(new storage::CountryInfoReader(platform.GetReader(PACKED_POLYGONS_MIGRATE_FILE),
platform.GetReader(COUNTRIES_MIGRATE_FILE)));
}
}