parent
7794cd6274
commit
ea30005762
@ -97,7 +97,10 @@ struct RouteParameters {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void addHint(const std::string & s) {
|
void addHint(const std::string & s) {
|
||||||
hints.push_back(s);
|
hints.resize( coordinates.size() );
|
||||||
|
if( !hints.empty() ) {
|
||||||
|
hints.back() = s;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void setLanguage(const std::string & s) {
|
void setLanguage(const std::string & s) {
|
||||||
|
Loading…
Reference in New Issue
Block a user