Use shared memory if no server paths are provided.
This caused a bug in the node bindings that would invoke the constructor without parameters.
This commit is contained in:
parent
fbb4e9078a
commit
c0e066440c
@ -35,7 +35,7 @@ struct libosrm_config
|
|||||||
libosrm_config(const libosrm_config &) = delete;
|
libosrm_config(const libosrm_config &) = delete;
|
||||||
libosrm_config()
|
libosrm_config()
|
||||||
: max_locations_distance_table(100), max_locations_map_matching(-1),
|
: max_locations_distance_table(100), max_locations_map_matching(-1),
|
||||||
use_shared_memory(false)
|
use_shared_memory(true)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user