Skip to content

Commit

Permalink
construct extract/contract configs to disable conditional restriction…
Browse files Browse the repository at this point in the history
… parsing by default
  • Loading branch information
karenzshea authored and Patrick Niklaus committed Nov 20, 2017
1 parent a53794f commit 834890c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
1 change: 1 addition & 0 deletions include/extractor/extractor_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ struct ExtractorConfig final : storage::IOConfig
".osrm.cnbg",
".osrm.cnbg_to_ebg"}),
requested_num_threads(0),
parse_conditionals(false),
use_locations_cache(true)
{
}
Expand Down
30 changes: 14 additions & 16 deletions include/updater/updater_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,20 @@ namespace updater
struct UpdaterConfig final : storage::IOConfig
{
UpdaterConfig()
: IOConfig(
{
".osrm.ebg",
".osrm.turn_weight_penalties",
".osrm.turn_duration_penalties",
".osrm.turn_penalties_index",
".osrm.nbg_nodes",
".osrm.ebg_nodes",
".osrm.edges",
".osrm.geometry",
".osrm.fileIndex",
".osrm.properties",
".osrm.restrictions",
},
{},
{".osrm.datasource_names"})
: IOConfig({".osrm.ebg",
".osrm.turn_weight_penalties",
".osrm.turn_duration_penalties",
".osrm.turn_penalties_index",
".osrm.nbg_nodes",
".osrm.ebg_nodes",
".osrm.edges",
".osrm.geometry",
".osrm.fileIndex",
".osrm.properties",
".osrm.restrictions"},
{},
{".osrm.datasource_names"}),
valid_now(0)
{
}

Expand Down

0 comments on commit 834890c

Please sign in to comment.