Kayak flow.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2023-06-30 14:10:46 -03:00
committed by Konstantin Pastbin
parent 556a474fda
commit e7c04c5459
20 changed files with 520 additions and 299 deletions

View File

@@ -43,6 +43,9 @@ std::vector<std::vector<std::string>> AppendToMwmTmp(std::vector<feature::Featur
feature::AffiliationInterface const & affiliation,
std::string const & temporaryMwmPath, size_t threadsCount = 1)
{
if (fbs.empty())
return {};
auto affiliations = GetAffiliations(fbs, affiliation, threadsCount);
std::unordered_map<std::string, std::vector<size_t>> countryToFbsIndexes;
for (size_t i = 0; i < fbs.size(); ++i)