Fixing hint ordering for via routes

This commit is contained in:
DennisOSRM 2012-09-12 15:35:21 +02:00
parent 86dbcc8df2
commit beadb241a8

View File

@ -69,7 +69,8 @@ struct RouteParameters {
} }
void addHint(const std::string & s) { void addHint(const std::string & s) {
hints.push_back(s); hints.resize(coordinates.size());
hints.back() = s;
} }
void setLanguage(const std::string & s) { void setLanguage(const std::string & s) {