Skip to content

Commit b96d36f

Browse files
TheMarexPatrick Niklaus
authored andcommitted
Try initializing all of ProfileProperties for GCC 4.9
1 parent d13d656 commit b96d36f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/extractor/profile_properties.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ struct ProfileProperties
2929
: traffic_signal_penalty(0), u_turn_penalty(0),
3030
max_speed_for_map_matching(DEFAULT_MAX_SPEED), continue_straight_at_waypoint(true),
3131
use_turn_restrictions(false), left_hand_driving(false), fallback_to_duration(true),
32-
weight_name{"duration"}, class_names{}, call_tagless_node_function(true)
32+
weight_name{"duration"}, class_names{{}}, excludable_classes{{}},
33+
call_tagless_node_function(true)
3334
{
3435
std::fill(excludable_classes.begin(), excludable_classes.end(), INAVLID_CLASS_DATA);
3536
BOOST_ASSERT(weight_name[MAX_WEIGHT_NAME_LENGTH] == '\0');

0 commit comments

Comments
 (0)