mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-09 05:44:34 +00:00
[feature] Added RouteRelation and linked it with FeatureType.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
315bba2a22
commit
b85c11ea5a
@@ -182,7 +182,7 @@ unique_ptr<RankTable> RankTable::Load(FilesMappingContainer const & mcont, strin
|
||||
void SearchRankTableBuilder::CalcSearchRanks(FilesContainerR & rcont, vector<uint8_t> & ranks)
|
||||
{
|
||||
feature::DataHeader header(rcont);
|
||||
FeaturesVector featuresVector(rcont, header, nullptr, nullptr);
|
||||
FeaturesVector featuresVector(rcont, header, nullptr, nullptr, nullptr);
|
||||
|
||||
featuresVector.ForEach([&ranks](FeatureType & ft, uint32_t /* index */) { ranks.push_back(CalcSearchRank(ft)); });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user