From 6468f55627aaa24d8372a2931e6956b87c30648e Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Thu, 17 Aug 2017 10:55:09 +0200 Subject: [PATCH] Make class_names default initialized --- include/extractor/profile_properties.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/extractor/profile_properties.hpp b/include/extractor/profile_properties.hpp index 15e90e70e..f234e8202 100644 --- a/include/extractor/profile_properties.hpp +++ b/include/extractor/profile_properties.hpp @@ -28,7 +28,7 @@ struct ProfileProperties : traffic_signal_penalty(0), u_turn_penalty(0), max_speed_for_map_matching(DEFAULT_MAX_SPEED), continue_straight_at_waypoint(true), use_turn_restrictions(false), left_hand_driving(false), fallback_to_duration(true), - weight_name{"duration"}, call_tagless_node_function(true) + weight_name{"duration"}, class_names{}, call_tagless_node_function(true) { std::fill(excludable_classes.begin(), excludable_classes.end(), INAVLID_CLASS_DATA); BOOST_ASSERT(weight_name[MAX_WEIGHT_NAME_LENGTH] == '\0');