forked from organicmaps/organicmaps
[generator] Fix path for synonyms file.
This commit is contained in:
parent
35330f858b
commit
d78ed6dbae
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ void AddFeatureNameIndexPairs(FeaturesVectorTest const & features,
|
|||
|
||||
unique_ptr<SynonymsHolder> synonyms;
|
||||
if (header.GetType() == feature::DataHeader::world)
|
||||
synonyms.reset(new SynonymsHolder(GetPlatform().WritablePathForFile(SYNONYMS_FILE)));
|
||||
synonyms.reset(new SynonymsHolder(base::JoinPath(GetPlatform().ResourcesDir(), SYNONYMS_FILE)));
|
||||
|
||||
features.GetVector().ForEach(FeatureInserter<TKey, TValue>(
|
||||
synonyms.get(), keyValuePairs, categoriesHolder, header.GetScaleRange(), valueBuilder));
|
||||
|
|
Loading…
Add table
Reference in a new issue