dont require local file parameter for shared memory input
This commit is contained in:
parent
c8ab430491
commit
2822812d0d
@ -230,6 +230,7 @@ inline bool GenerateServerProgramOptions(
|
||||
boost::program_options::notify(option_variables);
|
||||
}
|
||||
|
||||
if( !option_variables.count("sharedmemory") ) {
|
||||
if( !option_variables.count("hsgrdata") ) {
|
||||
if( !option_variables.count("base") ) {
|
||||
throw OSRMException("hsgrdata (or base) must be specified");
|
||||
@ -278,7 +279,7 @@ inline bool GenerateServerProgramOptions(
|
||||
}
|
||||
paths["timestamp"] = std::string( paths["base"].c_str()) + ".timestamp";
|
||||
}
|
||||
|
||||
}
|
||||
if(1 > requested_num_threads) {
|
||||
throw OSRMException("Number of threads must be a positive number");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user