move split_edges to global properties
This commit is contained in:
@@ -60,7 +60,6 @@ struct ExtractionWay
|
||||
road_classification = guidance::RoadClassification();
|
||||
backward_restricted = false;
|
||||
forward_restricted = false;
|
||||
split_edges = false;
|
||||
}
|
||||
|
||||
// wrappers to allow assigning nil (nullptr) to string values
|
||||
@@ -107,7 +106,6 @@ struct ExtractionWay
|
||||
bool is_startpoint : 1;
|
||||
bool forward_restricted : 1;
|
||||
bool backward_restricted : 1;
|
||||
bool split_edges : 1;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@ class ExtractorCallbacks
|
||||
guidance::LaneDescriptionMap lane_description_map;
|
||||
ExtractionContainers &external_memory;
|
||||
bool fallback_to_duration;
|
||||
bool force_split_edges;
|
||||
|
||||
public:
|
||||
explicit ExtractorCallbacks(ExtractionContainers &extraction_containers,
|
||||
|
||||
@@ -87,6 +87,7 @@ struct ProfileProperties
|
||||
//! stores the name of the weight (e.g. 'duration', 'distance', 'safety')
|
||||
char weight_name[MAX_WEIGHT_NAME_LENGTH + 1];
|
||||
unsigned weight_precision = 1;
|
||||
bool force_split_edges = false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user