This commit is contained in:
karenzshea 2016-02-15 18:44:04 -05:00 committed by Patrick Niklaus
parent b80e96547e
commit 3beb8c825b
3 changed files with 3 additions and 8 deletions

View File

@ -23,8 +23,7 @@ enum class return_code : unsigned
exit exit
}; };
return_code return_code parseArguments(int argc, char *argv[], contractor::ContractorConfig &contractor_config)
parseArguments(int argc, char *argv[], contractor::ContractorConfig &contractor_config)
{ {
// declare a group of options that will be allowed only on command line // declare a group of options that will be allowed only on command line
boost::program_options::options_description generic_options("Options"); boost::program_options::options_description generic_options("Options");

View File

@ -21,8 +21,7 @@ enum class return_code : unsigned
exit exit
}; };
return_code return_code parseArguments(int argc, char *argv[], extractor::ExtractorConfig &extractor_config)
parseArguments(int argc, char *argv[], extractor::ExtractorConfig &extractor_config)
{ {
// declare a group of options that will be allowed only on command line // declare a group of options that will be allowed only on command line
boost::program_options::options_description generic_options("Options"); boost::program_options::options_description generic_options("Options");
@ -113,7 +112,6 @@ parseArguments(int argc, char *argv[], extractor::ExtractorConfig &extractor_con
return return_code::ok; return return_code::ok;
} }
int main(int argc, char *argv[]) try int main(int argc, char *argv[]) try
{ {
util::LogPolicy::GetInstance().Unmute(); util::LogPolicy::GetInstance().Unmute();

View File

@ -10,9 +10,7 @@
using namespace osrm; using namespace osrm;
// generate boost::program_options object for the routing part // generate boost::program_options object for the routing part
bool generateDataStoreOptions(const int argc, bool generateDataStoreOptions(const int argc, const char *argv[], storage::DataPaths &paths)
const char *argv[],
storage::DataPaths &paths)
{ {
// declare a group of options that will be allowed only on command line // declare a group of options that will be allowed only on command line
boost::program_options::options_description generic_options("Options"); boost::program_options::options_description generic_options("Options");