Make class_names default initialized
This commit is contained in:
parent
f40b7975f2
commit
6468f55627
@ -28,7 +28,7 @@ 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"}, 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);
|
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