Don't pass by const-value for a read-only view.

I can't see a reason we pass by const-value here.

Note: changes API because of the `route_parameters` header.
This commit is contained in:
Daniel J. Hofmann
2015-09-08 23:34:20 +02:00
parent bed0598530
commit db092c828e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ struct RouteParameters
void addCoordinate(const boost::fusion::vector<double, double> &received_coordinates);
void getCoordinatesFromGeometry(const std::string geometry_string);
void getCoordinatesFromGeometry(const std::string &geometry_string);
short zoom_level;
bool print_instructions;