Try initializing all of ProfileProperties for GCC 4.9
This commit is contained in:
		
							parent
							
								
									d13d6566f8
								
							
						
					
					
						commit
						b96d36f482
					
				| @ -29,7 +29,8 @@ struct ProfileProperties | |||||||
|         : traffic_signal_penalty(0), u_turn_penalty(0), |         : traffic_signal_penalty(0), u_turn_penalty(0), | ||||||
|           max_speed_for_map_matching(DEFAULT_MAX_SPEED), continue_straight_at_waypoint(true), |           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), |           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); |         std::fill(excludable_classes.begin(), excludable_classes.end(), INAVLID_CLASS_DATA); | ||||||
|         BOOST_ASSERT(weight_name[MAX_WEIGHT_NAME_LENGTH] == '\0'); |         BOOST_ASSERT(weight_name[MAX_WEIGHT_NAME_LENGTH] == '\0'); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user