From b96d36f4825aa268eeb3c8032167c456d21eeee8 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Wed, 7 Feb 2018 23:12:12 +0000 Subject: [PATCH] Try initializing all of ProfileProperties for GCC 4.9 --- include/extractor/profile_properties.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/extractor/profile_properties.hpp b/include/extractor/profile_properties.hpp index 0d30d0e6c..7960544d8 100644 --- a/include/extractor/profile_properties.hpp +++ b/include/extractor/profile_properties.hpp @@ -29,7 +29,8 @@ 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"}, class_names{}, call_tagless_node_function(true) + weight_name{"duration"}, class_names{{}}, excludable_classes{{}}, + 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');