From 543f0e5e44611479e49175a5569d1fc0e86abc2f Mon Sep 17 00:00:00 2001 From: Moritz Kobitzsch Date: Tue, 7 Feb 2017 11:08:17 +0100 Subject: [PATCH] fix order of parameter initialisation for route parameters --- include/engine/api/route_parameters.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/engine/api/route_parameters.hpp b/include/engine/api/route_parameters.hpp index c43ea6a73..f3375f6b2 100644 --- a/include/engine/api/route_parameters.hpp +++ b/include/engine/api/route_parameters.hpp @@ -120,9 +120,9 @@ struct RouteParameters : public BaseParameters const boost::optional continue_straight_, Args... args_) : BaseParameters{std::forward(args_)...}, steps{steps_}, alternatives{alternatives_}, - annotations_type{annotations_}, annotations{annotations_ == AnnotationsType::None ? false : true}, - geometries{geometries_}, overview{overview_}, continue_straight{continue_straight_} + annotations_type{annotations_}, geometries{geometries_}, overview{overview_}, + continue_straight{continue_straight_} { }