move split_edges to global properties

This commit is contained in:
Michael Krasnyk
2017-03-29 23:48:57 +02:00
parent 57d3f71bf9
commit 2cd4ba9a0a
8 changed files with 14 additions and 12 deletions
-2
View File
@@ -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,
+1
View File
@@ -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;
};
}
}