fix error in ordering arguments for requiresNameAnnounced versions

This commit is contained in:
Moritz Kobitzsch 2016-11-08 09:40:04 +01:00 committed by Daniel J. H
parent 6ac9617d49
commit 837ab105ad
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ inline void print(const engine::guidance::RouteStep &step)
std::cout << " " << (entry ? "true" : "false");
std::cout << ")";
}
std::cout << "] name[" << step.name_id << "]: " << step.name;
std::cout << "] name[" << step.name_id << "]: " << step.name << " Ref: " << step.ref << " Pronunciation: " << step.pronunciation;
}
inline void print(const std::vector<engine::guidance::RouteStep> &steps)

View File

@ -258,8 +258,8 @@ inline bool requiresNameAnnounced(const std::string &from_name,
const std::string &from_ref,
const std::string &from_pronunciation,
const std::string &to_name,
const std::string &to_pronunciation,
const std::string &to_ref)
const std::string &to_ref,
const std::string &to_pronunciation)
{
// Dummy since we need to provide a SuffixTable but do not have the data for it.
// (Guidance Post-Processing does not keep the suffix table around at the moment)