From ffdc3eee2da1140ebe72de7eb6dc40ddf9bbb191 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 10 Jul 2014 15:01:38 +0200 Subject: [PATCH] use proper float literal instead of implicit cast from int --- Descriptors/DescriptionFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Descriptors/DescriptionFactory.cpp b/Descriptors/DescriptionFactory.cpp index 5c9cbefa1..2d66cc197 100644 --- a/Descriptors/DescriptionFactory.cpp +++ b/Descriptors/DescriptionFactory.cpp @@ -72,7 +72,7 @@ void DescriptionFactory::AppendSegment(const FixedPointCoordinate &coordinate, path_description.emplace_back(coordinate, path_point.name_id, path_point.segment_duration, - 0, + 0.f, path_point.turn_instruction); }