From 7af06e194cf165b8ba7423189e8c7ffd60fbe164 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Sat, 9 Jan 2016 17:32:40 +0100 Subject: [PATCH] not -> ! --- include/engine/api_response_generator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/engine/api_response_generator.hpp b/include/engine/api_response_generator.hpp index 7f4d66cf95e..77a220d7ebf 100644 --- a/include/engine/api_response_generator.hpp +++ b/include/engine/api_response_generator.hpp @@ -190,7 +190,7 @@ ApiResponseGenerator::SummarizeRoute(const InternalRouteResult &raw const Segments &segment_list) const { util::json::Object json_route_summary; - if (not raw_route.segment_end_coordinates.empty()) + if (!raw_route.segment_end_coordinates.empty()) { const auto start_name_id = raw_route.segment_end_coordinates.front().source_phantom.name_id; json_route_summary.values["start_point"] = facade->get_name_for_id(start_name_id);