diff --git a/include/util/debug.hpp b/include/util/debug.hpp index a3f706985..44b9b02db 100644 --- a/include/util/debug.hpp +++ b/include/util/debug.hpp @@ -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 &steps) diff --git a/include/util/guidance/toolkit.hpp b/include/util/guidance/toolkit.hpp index 44303f099..e9693b878 100644 --- a/include/util/guidance/toolkit.hpp +++ b/include/util/guidance/toolkit.hpp @@ -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)