Use nested namespace
It's a mechanical change to modernize the code base
This commit is contained in:
@@ -52,9 +52,7 @@ const static unsigned INIT_OK_START_ENGINE = 0;
|
||||
const static unsigned INIT_OK_DO_NOT_START_ENGINE = 1;
|
||||
const static unsigned INIT_FAILED = -1;
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
namespace engine
|
||||
namespace osrm::engine
|
||||
{
|
||||
std::istream &operator>>(std::istream &in, EngineConfig::Algorithm &algorithm)
|
||||
{
|
||||
@@ -70,7 +68,6 @@ std::istream &operator>>(std::istream &in, EngineConfig::Algorithm &algorithm)
|
||||
throw util::RuntimeError(token, ErrorCode::UnknownAlgorithm, SOURCE_REF);
|
||||
return in;
|
||||
}
|
||||
} // namespace engine
|
||||
} // namespace osrm
|
||||
|
||||
// generate boost::program_options object for the routing part
|
||||
|
||||
Reference in New Issue
Block a user