use lambda instead of bindy

This commit is contained in:
karenzshea
2017-02-02 16:36:35 +01:00
committed by Patrick Niklaus
parent ab91a05680
commit c885d03830
3 changed files with 23 additions and 19 deletions
@@ -46,7 +46,6 @@ struct RouteParametersGrammar : public BaseParametersGrammar<Iterator, Signature
engine::api::RouteParameters::AnnotationsType &route_param) {
route_parameters.annotations_type = route_parameters.annotations_type | route_param;
route_parameters.annotations = route_parameters.annotations_type != engine::api::RouteParameters::AnnotationsType::None;
return route_parameters;
};
geometries_type.add("geojson", engine::api::RouteParameters::GeometriesType::GeoJSON)(